Encoding names don't match IANA versions
Open3543438fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2012-07-13 08:18:29
The encoding names used in Tcl (as returned by [encoding names]) don't match the official IANA encoding names - for instance, Tcl uses iso8859-1 while the IANA name is iso-8859-1. I'm not sure whether this is actually a bug or there's a good reason for it that I'm not aware of, but it makes attempting to match encoding names against those given by most real-world applications - for example, the charset used by web servers - a pain. (It's not too hard to work around, but the fact you need to know every charset which has the 'wrong' name, and which it should map to, is problematical.)
nijtmansplain2012-07-13 16:41:46
data_type - 360894 Java made the same change: <http://www.websina.com/bugzero/kb/java-encoding-charset.html>
nijtmans Ticket [3543438fff]: 1 change
[History diff]2012-07-13 16:47:30
dkfplain2012-07-13 19:07:35
This was meant to be the focus of the dkf-alias-encoding branch, but it's been a bit sidelined for the past few months.
dgpplain2012-07-16 20:07:16
Dup of 1374695 ?
talvoplain2012-07-16 20:49:14
Does seem to be a duplicate, yeah - I must've missed that when I searched before adding this one, sorry.
Log in (anonymous is fine) to add a comment.