DescriptionAdd UTF16ToUTF8AndAdjustOffset() to base/.
Currently, only UTF8ToUTF16 version is implemented. The converse version will
be required for an upcoming patch for supporting input methods in PPAPI
(crbug.com/59425), where WebKit strings (UTF16) with segmentation information
must be converted to PPAPI strings (UTF8).
BUG=
TEST=base_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100079
Patch Set 1 #
Total comments: 2
Patch Set 2 : Removed raw-pointer variants. #
Total comments: 6
Patch Set 3 : Use vector version in single-offset version. #
Messages
Total messages: 7 (0 generated)
|