<i>Initial encoding selected incorrectly</i> status still Open with 4 other changes
by
.
D 2001-09-11T17:48:38
J icomment Logged\sIn:\sYES\s\nuser_id=53799\n\nThe\sodd\ssetlocale(LC_NUMERIC,\s"C")\sin\smy\soriginal\smessage\nshould\sof\scourse\sbe\ssetlocale(LC_CTYPE,\s"").\s[No\sidea\swhy\sI\ntyped\sthat\s...]\n\nI\smade\sa\slittle\ssurvey\sof\sthe\sstrings\sthat\nnl_langinfo(CODESET)\sreturns\son\sdifferent\soperating\ssystems\nor\sthat\shave\sbeen\sproposed\sas\slocale\sname\sdraft\sstandards:\n\nGood\sold\s7-bit\sUSASCII\scomes\sin\sthe\slargest\snumber\sof\snames:\n\nASCII\s=\sUS-ASCII\s=\sANSI_X3.4-1968\s=\s646\s=\sISO646\s=\nISO_646.IRV\n\nFor\sISO\s8859-1\s(and\scorrespondingly\sthe\sother\sparts)\sthere\nare\sonly\stwo\snotations\sin\suse:\n\nISO8859-1\s=\sISO-8859-1\n\nAnd\sthen\sthere\sare\salso\n\nUTF-8\nTIS-620\s=\sTIS620.2533\s=\sISO-8859-12\s=\sISO8859-12\nEUC-JP\nEUC-KR\nEUC-TW\nEUC-CN\s=\sGB2312\nVSCII\nGB18030\nGBK\nBIG5\s=\sBig5\nKOI8-R\nKOI8-U\nWINDOWS-1251\nWINDOWS-1256\n\nI\sthink\sthat\slist\scovers\seven\smore\sthan\swhat\syou\scan\nnl_langinfo(CODESET)\sexpect\sto\sreturn\stoday\son\sany\nmainstream\ssystem.\n\nI\ssuggest\sthat\sthe\sTCL\scharacter\sset\sconversion\sfunctions\nshould\sbe\sable\sto\saccept\sall\sof\sthe\sabove\scharacter\sencoding\nnames,\sand\sthen\sthe\soutput\sof\snl_langinfo(CODESET)\scan\sbe\nforwarded\sdirectly\sto\sthe\scharacter\sset\sconversion\sroutines,\nsuch\sthat\sstandard\stext\sI/O\sunder\sTCL\shappens\sautomatically\nin\sthe\scorrect\slocale-dependent\scharacter\sset\sby\sdefault.\n\n
J login mkuhn
J mimetype text/plain
J username mkuhn
K 418645ffffffffffffffffffffffffffffffffff
U mkuhn
Z 10d7912d12054f55c9f8946d0ca9d869