diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2018-06-27 11:57:18 -0700 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2018-07-02 14:14:33 -0700 |
commit | d86ea58bddea7d5608e3539fc77e3d805c0af1d1 (patch) | |
tree | 59aee68a419d4d4a4559ed50a3589abeaee3a258 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | af5753836912a1c76ac35071b8343a6d00782d9e (diff) |
AAPT2: Encode 4-byte strings in Modified UTF-8
Codepoints that are encoded to 4 bytes in UTF-8 are not allowed in
Modified UTF-8. They instead should be encoded as surrogate pairs in the
same way that CESU-8 allows for surrogate pairs. This will also cause 4
byte UTF-8 codes to be represented in 6 bytes.
Bug: 37140916
Test: aapt2_tests
Change-Id: I155dc24f166139d1d36a16bac088dcfcd59eb321
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions