[Webkit-unassigned] [Bug 17537] Try MIME before trying IANA names when enumerating ICU converters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 29 11:40:28 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=17537
------- Comment #5 from jungshik.shin at gmail.com 2008-08-29 11:40 PDT -------
Created an attachment (id=23072)
--> (https://bugs.webkit.org/attachment.cgi?id=23072&action=view)
IANA name vs MIME name
The file contains IANA and MIME names for ICU converters. For many converters,
they're identical. But for some, MIME names are certainly better and I don't
see any opposite case.
In addition to Extended_...Unix_..Japanese vs EUC-JP,
ISO-8859-X has 'year' appended in IANA names but MIME names do not have that.
Obviously, we want just ISO-8859-X rather than ISO-8859-X:YYYY
And, the IANA name for US-ASCII is ANSI_X3.4-1968. I don't think you like that
better than US-ASCII.
For some cases, MIME names are missing (windows-12xx) , which is why I proposed
trying MIME name first and then falling back to IANA names.
Also note that ICU encoding detector returns MIME names (i.e. EUC-JP rather
than Extended_Unix...Japanese, ISO-8859-x rather than ISO-8859-x:yyyy). In case
they're not available IANA names - for windows-12xx). My latest patch
(uploaded today) for bug 16482 assumes that we do what I proposed here.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list