[Webkit-unassigned] [Bug 9483] New: copy and paste unicode file name into sarfari need to be normalized to Unicode NFC

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jun 17 03:12:36 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9483

           Summary: copy and paste unicode file name into sarfari need to be
                    normalized to Unicode NFC
           Product: WebKit
           Version: 416.x
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: FrankTang+opendarwin at gmail.com


reproduce procedure:
1. name a file  Îñţérñåţîöñåļîžåţîöñ by copy and paste this
string into the file name
2. copy the file name again (yes, you need to copy from the file again, the
file system api will change what you last paste in from NFC into NFD)
3. paste the file name you copy from the file finder into a html form (say,
www.yahoo.com search box)
4. submit that form.

you will find what it submit is in Unicode normalization NFD instead of NFC.
This is becaues Mac file name is stored in NFD . You should add an unicode
normalization NFC code when you get text from the clipboard.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list