Comment #5 on issue 14674 by jshin1987: [www.vsa.com.cn]: Encoding wrong
http://code.google.com/p/chromium/issues/detail?id=14674

It's a bit complicated. I think it's ICU that takes care of charset name  
aliasing. It
removes "_" and "-" and case-folds before comparing two names.  IIRC,  
webkit has
something similar in its code, too.  So, ISO-8859-1, iso88591, iso8859_1,  
Iso-8859_1
are all treated as ISO-8859-1.

On the other hand, Firefox has a finite set of pre-defined aliases taken  
from the
IANA charset registry (see
http://mxr.mozilla.org/seamonkey/source/intl/uconv/src/charsetalias.properties  
)  
and
only does the case folding.

We can't simply change the behavior of ICU and webkit for this particular  
web site
because there are other cases where this helps. Actually, there is a  
firefox bugs
about ISO_8859_1 not being recognized.



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

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to