Bug 9626

Summary: Safari sends wrong Accept-Language codes for Chinese
Product: WebKit Reporter: Nicholas Shanks <nickshanks>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

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
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.