summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2012-05-23 17:00:50 -0700
committerVictoria Lease <violets@google.com>2012-05-24 09:47:17 -0700
commit62d3ac39c19a7b4160a180140ac8f1685c0df19a (patch)
tree768d94c5bdde93bf7155fbe4aa124d8a7f420118 /Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp
parent55d602593a60888cfc87c244a5e3258f35bae50e (diff)
downloadexternal_webkit-62d3ac39c19a7b4160a180140ac8f1685c0df19a.zip
external_webkit-62d3ac39c19a7b4160a180140ac8f1685c0df19a.tar.gz
external_webkit-62d3ac39c19a7b4160a180140ac8f1685c0df19a.tar.bz2
properly convert data from utf-16 to utf-8 in LoadData()
GetStringUTFChars() was turning U+1F382 into garbage data: 0xED 0xA0 0xBC 0xED 0xBE 0x82. WTF::String's UChar* constructor converts this codepoint into proper UTF-8: 0xF0 0x9F 0x8E 0x82. Bug: 5961185 Change-Id: Ie8f1ef9b633bda5f7e93570eab9118b35911e93e
Diffstat (limited to 'Source/WebCore/platform/graphics/android/layers/LayerAndroid.cpp')
0 files changed, 0 insertions, 0 deletions