commit | f495efdb1244cb4cce341437243d27cad4c2b2cc | [log] [tgz] |
---|---|---|
author | Sergio Giro <sgiro@google.com> | Wed Jul 20 20:01:33 2016 +0100 |
committer | Martijn Coenen <maco@google.com> | Thu Aug 25 19:57:06 2016 +0000 |
tree | 7a35f99e63fe7a332202194d845964458d1fd7fb | |
parent | 74cfd469a2b7a2632718b2567fc7be313f9468a5 [diff] |
Unicode: specify destination length in utf8_to_utf16 methods String16(const char *utf8) now returns the empty string in case a string ends halfway throw a utf8 character. Bug: 29267949 Clean cherry-pick from 1dcc0c82394ec9cd6887c7ca39f9b5024db01ac9 Change-Id: I5223caa7d42f4582a982609a898a02043265c6d3