summaryrefslogtreecommitdiffstats
path: root/runtime/utf_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Emit 4 byte UTF-sequences in place of encoded surrogate pairs.Narayan Kamath2015-03-251-0/+50
| | | | | | | | | Symmetric with a5afcfc73141e5e378d79a326d0 which converts 4 byte UTF-8 sequences to surrogate pairs. bug: 18848397 Change-Id: I42adc275b7e0df0cbbd9d8a799e8b0447d8f5cae
* Be more lenient with 4 byte UTF-8 sequences.Narayan Kamath2015-02-121-0/+113
Accept 4 byte sequences and convert them into surrogate pairs instead of expecting 2 separate 3 byte sequences each encoding one half of a surrogate pair. Note that in addition to supporting 4 byte sequences in strings from JNI, we also tolerate them in dex files. This is mainly for consistency, and there's no need to claim any sort of official support. bug: 18848397 bug: https://code.google.com/p/android/issues/detail?id=81341 Change-Id: Ibc98d29e59d98803e640f2489ea4c56912a59b29