[Webkit-unassigned] [Bug 192945] New: Use unorm2_normalize instead of precomposedStringWithCanonicalMapping in userVisibleString

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 20 12:07:51 PST 2018


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

            Bug ID: 192945
           Summary: Use unorm2_normalize instead of
                    precomposedStringWithCanonicalMapping in
                    userVisibleString
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: achristensen at apple.com

Replace use of the nice NSString function precomposedStringWithCanonicalMapping with the ICU API unorm2_normalize. This is to prep the code for translation to cross-platform C++.

Please congratulate the ICU developers for creating an API that is impossible to safely use except when calling it twice in succession.

Note this code was all written by Ms2ger; I'm just splitting it into its own patch because I fear we've lost him to end of year holidays.

-- 
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/20181220/d1c634b3/attachment.html>


More information about the webkit-unassigned mailing list