On Nov 11, 2006, at 15:35, Henri Sivonen wrote:

encodings that "everyone" supports. A passable practical definition could be the intersection of the IANA-registered encodings supported by IE6, Opera 9, Firefox 2.0, Safari 2.0.x, Sun JDK 1.4.2 and Python 2.4.

For the record, the following is the intersection of the IANA- registered encodings supported by JDK 1.4.2_08 (Sun Solaris Sparc; other vendors such as Apple and IBM add encodings) and Python 2.4.3. The list does not change when intersected by the encodings supported by Opera 9 and Firefox 2. (Safari doesn't list all the encodings it supports in the UI and I don't have IE.)

Big5
Big5-HKSCS
EUC-JP
EUC-KR
GB18030
GBK
ISO-2022-JP
ISO-2022-KR
ISO-8859-1
ISO-8859-13
ISO-8859-15
ISO-8859-2
ISO-8859-3
ISO-8859-4
ISO-8859-5
ISO-8859-6
ISO-8859-7
ISO-8859-8
ISO-8859-9
KOI8-R
Shift_JIS
TIS-620
US-ASCII
UTF-8
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1255
windows-1256
windows-1257
windows-1258
UTF-16
UTF-16BE
UTF-16LE

(Method: A list was extracted from java.nio.charset.Charset.availableCharsets(), the x- entries were removed and the rest were fed to Python codecs.getdecoder().)

--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/


Reply via email to