DO NOT MERGE libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 am: 2806397d1e am: 8c9d02551c am: 28f28ce635  -s ours am: f611765aaf am: 207717bde6 am: dc5a96f5b3 am: 1aad4b61cb  -s ours
am: 8170f506f7

Change-Id: Iea68f2cf201296214d1cbcbd6d54ebdcb6332cb3