Issue 3305: Google China "rebang" showing as garbage
http://code.google.com/p/chromium/issues/detail?id=3305

Comment #5 by [EMAIL PROTECTED]:
It's a google bug. When the default charset is set to GB18030, Firefox and  
Chrome
send 'Accept-Charset' with gb18030 at the beginning along with UTF-8.  In  
response to
that request, google.cn/rebang sends back an html file labelled as in UTF-8  
that is
actually in GB18030.

You can confirm that by trying

wget --header 'Accept-Charset: gb18030,utf-8;q=-.7,*;q=.07'
http://www.google.cn/rebang/yuedu/ask4.htm

The file ask4.htm is encoded in GB18030, but it has meta tag setting the  
charset to
UTF-8. Note that HTTP content-type header is just 'Content-Type: text/html'  
with
charset specified.

I'll talk to Google about this.




Issue attribute updates:
        Status: Started
        Owner: [EMAIL PROTECTED]
        Cc: [EMAIL PROTECTED] [EMAIL PROTECTED]
        Labels: google

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to