Bug 9483 - copy and paste unicode file name into sarfari need to be normalized to Unicode NFC
Summary: copy and paste unicode file name into sarfari need to be normalized to Unicod...
Status: RESOLVED DUPLICATE of bug 8769
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 416.x
Hardware: PC OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-17 03:12 PDT by Frank Yung-Fong Tang
Modified: 2006-06-19 13:45 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Yung-Fong Tang 2006-06-17 03:12:36 PDT
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.
Comment 1 Alexey Proskuryakov 2006-06-17 03:32:16 PDT
Just like bug 9482, this should work now (we've changed form submission to convert to NFC).
Comment 2 Darin Adler 2006-06-19 13:45:38 PDT
I'm going to mark this as a duplicate of the bug where we added normalization code.

*** This bug has been marked as a duplicate of 8769 ***