.
D 2012-02-19T22:27:37
J icomment New\sattempt\sin\sbug-3466099\sbranch\s(threw\saway\sthe\sold\sone)\n\nTcl_FSEvalFileEx\snow\sthrows\saway\sthe\sBOM\swhen\sit\sis\sthe\nfirst\scharacter\sin\sthe\sstream.\sIf\sthe\sencoding\sis\sset\scorrectly\n(e.g.\sto\sUTF-8)\sthis\swill\swork\son\sUnix\sand\sWindows.\nAdded\stest\scase\ssource-2.7\sto\sprove\sthat.\sAdvantage:\nno\sseek\sis\sneeded,\sas\sin\sthe\sprevious\simplementation.\nSo\sit\sis\sharmless\sfor\sTcl\s8.4/8.5\sas\swell.\n\nThis\scould\sbe\simproved\sby\sadding\sa\snew\sencoding\nnamed\s"",\swhich\sis\salmost\sthe\ssame\sas\sthe\ssystem\nencoding.\sThe\sonly\sdifference\sis\sthat,\sif\sthe\sfirst\ncharacters\sof\sthe\sstream\sis\sa\sBOM\sin\sany\sof\sthe\nUTF-8\sor\sUTF-16\sforms\sit\swill\sswith\sto\sthis\nencoding,\sotherwise\sit\swill\sbehave\sexactly\nlike\sthe\ssystem\sencoding.\sI'll\sleave\sthat\nfor\ssome\sother\sday\s(and\sfor\sTcl\s8.6\sonly)\n
J login nijtmans
J mimetype text/plain
J resolution Fixed
J username nijtmans
K 3466099fffffffffffffffffffffffffffffffff
U nijtmans
Z 52db67d5a17800cf3ac22e202ca2fbd7