DescriptionAdd support for non ASCII strings when communicating with native ports
The string representation in a Dart_CObject strructure is now
UTF8. All strings read are now converted to UTF8 from either ASCII or
UTF16 serialization. All strings posted should be valid UTF8 and are
serialized as either ASCII or UTF16 depending on the content.
Proper andling of surrogate pairs is missing, but will be added when
https://codereview.chromium.org/11368138/ lands.
R=ager@google.com, erikcorry@google.com, asiva@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=14887
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added check for valid UTF-8 sequences wehn sending Dart_CObject message structures #Patch Set 3 : Minor change #Patch Set 4 : Rebase + update test expectations #
Total comments: 4
Messages
Total messages: 7 (0 generated)
|