.
D 2000-10-26T05:10:03
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2128\sBug\nVersion:\s8.1\nSubmitDate:\s'1999-05-26'\nLastModified:\s'1999-10-21'\nSeverity:\sMED\nStatus:\sUnAssn\nSubmitter:\spat\nChangedBy:\shobbs\nRelatedBugIDs:\s2129\nOS:\sLinux\nOSVersion:\sDebian\s2.0\nMachine:\sOther\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nVictor\sWagner\n\nReproducibleScript:\nfconfigure\sstdout\s-encoding\sunicode\n\s\s\s\sputs\s"some\sstuff"\n\nObservedBehavior:\nAccording\sto\sUTF-16\sstandard,\sany\sUTF-16\sfile\sshould\sbegin\swith\s\n\s\s\s\sUnicode\scharacter\s"\\uFEFF",\swhich\sallows\sunicode\sreading\ssoftware\sto\n\s\s\s\sdetermine\sbyte\sorder\sof\swriting\ssoftware\scorrectly.\n\s\s\s\sAny\soccurence\sof\sthis\s\n\s\s\s\sTcl\sdoesn't\sautomatically\swrite\sthis\scharacter.\sI\shaven't\stested\sit\n\s\s\s\son\smachines\swith\sdifferent\sbyte\sorder,\sbut\sI\ssuspect\sthat\sunicode\sfile\n\s\s\s\swritten\son\sSparc\swouldn't\sbe\sreadable\son\sIntel\sand\svice\sversa.\n\nDesiredBehavior:\nUpon\sfirst\swrite\sof\sfile\swith\sencoding\sset\sto\sunicode\s(or\sdirectly\sat\n\s\s\s\sthe\n\s\s\s\smoment\sof\sfconfigure)\stcl\sshould\swrite\s"\\uFEFF"\sto\sfile.\sExtra\s\\uFEFF\n\s\s\s\sshouldn't\sharm\sbecouse\sthis\ssymbol\sis\sdefined\sin\sUNICODE\sas\szero-width\n\s\s\s\snon-breakable\sspace\s(effectively\snoop)\n\n\n\n
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 57.\szlib
J title Tcl\s8.1\swrites\sincorrect\sUTF-16\sfiles
J type Bug
K 219288ffffffffffffffffffffffffffffffffff
U nobody
Z 1f2b02da32c4a2517c327297d9336c0c