WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 3510
9626
Safari sends wrong Accept-Language codes for Chinese
https://bugs.webkit.org/show_bug.cgi?id=9626
Summary
Safari sends wrong Accept-Language codes for Chinese
Nicholas Shanks
Reported
2006-06-27 17:33:46 PDT
When the AppleLanguages pref is set to Simplified Chinese, Safari should be sending "zh-Hans" as it's Accept-Language, but is instead sending "zh-CN". Likewise for Traditional Chinese it should be "zh-Hant" but is instead "zh-TW" (which is not correct for Hong Kong, zh-Hant-HK, for example). The current codes should probably be sent too, but with a q-value of 0.95.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2006-06-27 21:57:57 PDT
It has been decided to wait for Accept-Language to be fixed in NSURLConnection. Please note that my proposed patch in
bug 3510
did already contain a fix for this issue. This bug also has a discussion of why we cannot send weights in Accept-Language strings. However, I encourage you to file a separate Radar report for Chinese, mentioning
rdar://problem/4076004
and
rdar://problem/4410031
. *** This bug has been marked as a duplicate of
3510
***
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