Skip to content
Tcl Source Code Artifact [fcdc51fd95]
Login

Artifact [fcdc51fd95]

Artifact fcdc51fd957204c83d9158642d9d2145b2d7efe0:

Ticket change [fcdc51fd95] - New ticket [218323ffffffffff|218323ffff] <i>Bad backslash substitution</i>. by nobody on 2000-10-26 00:56:09.
D 2000-10-26T00:56:09
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3832\sBug\nVersion:\s8.2.2\nSubmitDate:\s'1999-12-09'\nLastModified:\s'1999-12-11'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sWindows\sNT\nOSVersion:\sWindows\sNT\s4\sservice\spack\s4\nMachine:\sToshiba\sTecra\s780\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-12-11'\n\n\nName:\sTony\sOlsson\n\nReproducibleScript:\nUsing\sbackslash\ssubstitution\swith\soctal,\shexadecimal\sor\sunicode\sdoes\snot\sseem\sto\swork\son\sWindows\sNT.\sIt\sworks\son\sUNIX\sand\sif\sinserting\sa\scharacter\swith\sthat\scode.\sThe\sproblem\swas\sfound\swhen\strying\sto\sconvert\s(old\scode\sactually)\sMac-specific\scharacters\sto\sISO.8859.1\scharacters\srepresenting\ssome\sSwedish\snative\scharacters.\s\n\n\s\s\s\s\sstring\smap\s{\\205\sÖ\s\\232\sö\s\\200\sÄ\s\\212\sä\s\\201\sÅ\s\\214\så}\s$line\s\n\nworks\son\sUNIX\sbut\snot\son\sPC.\n\nObservedBehavior:\nThe\sbackslash\ssubstitution\sdoes\snot\swork\sthe\ssame\son\sUNIX\sand\sWindows\sNT.\sIt\sdoes\snot\sseem\sto\swork\scorrectly\son\sWindows\sNT.\n\nDesiredBehavior:\nThe\sbackslash\ssubstituition\sshould\swork\sthe\ssame\son\sboth\sUNIX\sand\sWindows\sNT.\n\n\n\nPlease\sbe\scareful\son\show\sthe\sline\sis\screated\sin\sNT.\s\sIf\sI\sdo\sit\nwithin\sTcl,\sthen\sit\sworks\sas\sexpect\son\sNT:\n\n(tkcon)\s49\s%\sset\sline\s"\\205\s\\200\s\\214\s\\232\s\\205"\n?\s?\s?\s?\s?\n(tkcon)\s50\s%\sstring\smap\s{\\205\sÖ\s\\232\sö\s\\200\sÄ\s\\212\sä\s\\201\sÅ\s\\214\så}\s$line\nÖ\sÄ\så\sö\sÖ\n\nWhich\sindicates\sthat\sit\sworks.\s\sIt\sis\spossible\sthat\sthe\suser\sis\nbeing\shit\sby\ssome\sauto-conversion\swhen\sthe\sfile\sgets\sto\sNT,\sor\nperhaps\sthey\sneed\sto\sopen\sthe\sfile\sin\sbinary\sor\ssome\sother\sencoding.\s\n--\s12/11/1999\shobbs
J foundin obsolete:\s8.2.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 57.\szlib
J title Bad\sbackslash\ssubstitution
J type Bug
K 218323ffffffffffffffffffffffffffffffffff
U nobody
Z 87d1db2b7f2e8790062eb0fe451a5686