WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
212625
Safari 13 on iOS does not correctly render UTF-16LE Chinese characters
https://bugs.webkit.org/show_bug.cgi?id=212625
Summary
Safari 13 on iOS does not correctly render UTF-16LE Chinese characters
Matthew Rister
Reported
2020-06-01 21:19:34 PDT
Created
attachment 400782
[details]
CSV file (tab separated) to reproduce the issue. When previewing a downloaded CSV file which is UTF-16LE encoded in Safari on iOS which contains Chinese characters, Safari incorrectly renders the contents of the file. This does render correctly in Excel on iOS and in all other major browsers and text editors. Attached is a file that you can use to reproduce the issue. You will need to write a small HTML application that will download the file on a click event. When Safari prompts you to view or download the file, click view. Please note that the file does contain a byte order mark (BOM). Expected The file renders Chinese characters correctly. Actual The file renders garbled text.
Attachments
CSV file (tab separated) to reproduce the issue.
(704 bytes, text/csv)
2020-06-01 21:19 PDT
,
Matthew Rister
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2020-06-02 18:39:08 PDT
I am fairly certain that this issue in not in WebKit, but in an Apple system framework used for previewing downloads. Could you please report it to Apple via
https://feedbackassistant.apple.com
? The same issue reproduces when previewing the file in Finder on macOS.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug