Bug 9482
Summary: | Sarfari file upload send file name not in NFC | ||
---|---|---|---|
Product: | WebKit | Reporter: | Frank Yung-Fong Tang <FrankTang+opendarwin> |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap |
Priority: | P2 | ||
Version: | 416.x | ||
Hardware: | PC | ||
OS: | OS X 10.4 |
Frank Yung-Fong Tang
reproduce procedure
1. name a file "Îñţérñåţîöñåļîžåţîöñ" by copy and paste the text here.
2. go to a form to upload the file
3. the file name sent by safari change from "Îñţérñåţîöñåļîžåţîöñ" to a decomposed form which is not Unicode NFC used on the web. the file name is send out as in Unicode NFD instead of in NFC, you need to add a Unicode normalization NFC code when sending out the file name see
http://developer.apple.com/qa/qa2001/qa1235.html
http://developer.apple.com/technotes/tn2002/tn2078.html
http://twiki.org/cgi-bin/view/Codev/MacOSXFilesystemEncodingWithI18N
for details.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Reporter, can you reproduce the problem with a nightly build from <nightly.webkit.org>? I think this has been already fixed.
Darin Adler
*** This bug has been marked as a duplicate of 8769 ***