<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>9626</bug_id>
          
          <creation_ts>2006-06-27 17:33:46 -0700</creation_ts>
          <short_desc>Safari sends wrong Accept-Language codes for Chinese</short_desc>
          <delta_ts>2006-06-27 21:57:57 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>3510</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nicholas Shanks">nickshanks</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47400</commentid>
    <comment_count>0</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2006-06-27 17:33:46 -0700</bug_when>
    <thetext>When the AppleLanguages pref is set to Simplified Chinese, Safari should be sending &quot;zh-Hans&quot; as it&apos;s Accept-Language, but is instead sending &quot;zh-CN&quot;.
Likewise for Traditional Chinese it should be &quot;zh-Hant&quot; but is instead &quot;zh-TW&quot; (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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47411</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-06-27 21:57:57 -0700</bug_when>
    <thetext>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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>