[Webkit-unassigned] [Bug 54931] New: Korean is broken by utf8() of String

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 21 20:33:58 PST 2011


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

           Summary: Korean is broken by utf8() of String
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gyuyoung.kim at samsung.com


korean is broken by utf8(). But, korean is not broken when latin1() is used. It seems to me that this is strange.

I test this by below codes.

    printf("<< korean string test(utf8) : %s \n", String("한글").utf8().data());
    printf("<< korean string test(latin1) : %s \n", String("한글").latin1().data());

Does anyone know why korean is broken ?

If my test is something wrong, please let me know. Thank you.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list