Reviewers: Mads Ager,
Description:
Change AllocateStringFromUTF8 to not silently truncate codepoints outside
the
BMP.
Content of string is now written as UTF-16 instead of UCS-2.
This does not change the behavior of valid UTF-8 input that contains only
codepoints in the BMP.
The created string is not interpreted as UTF-16 by the system, but as UCS-2
that
contains code points in the surrogate pair range.
Please review this at http://codereview.chromium.org/2852036/show
Affected files:
M ChangeLog
M src/arm/constants-arm.cc
M src/heap.h
M src/heap.cc
M src/version.cc
M test/cctest/test-api.cc
M test/cctest/test-disasm-arm.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev