[Webkit-unassigned] [Bug 193339] New: StringImpl::createCFString() uses the wrong encoding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 10 14:34:34 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=193339

            Bug ID: 193339
           Summary: StringImpl::createCFString() uses the wrong encoding
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mmaxfield at apple.com
                CC: mmaxfield at apple.com

Strings in WebKit have two flavors: UTF-16, and UTF-16 with all the leading 0 bytes removed (if all the code points are <= 0xFF).

StringImpl::createCFString() pretends the second one is kCFStringEncodingISOLatin1, which is not correct.

https://en.wikipedia.org/wiki/ISO/IEC_8859-1#Code_page_layout
https://www.unicode.org/charts/PDF/U0080.pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190110/7b9c6106/attachment.html>


More information about the webkit-unassigned mailing list