Skip to content
Tcl Source Code Artifact [0773c3352f]
Login

Artifact [0773c3352f]

Artifact 0773c3352fc56c6aea5a84dafb89e79bcaf63b82:

Ticket change [0773c3352f] - Ticket [3483277fffffffff|3483277fff] <i>Problem with command &quot;string map&quot; in Tcl 8.5</i> status still Open with 4 other changes by sebres on 2012-02-03 16:52:22.
D 2012-02-03T16:52:22
J icomment the\sTcl_EvalFile\sreads\sthe\sfile\sin\scurrent\ssystem\sencoding\sof\sgiven\sinterpreter:\nalso\sif\syou\s"encoding\ssystem"\sreturns\shere\sas\sexample\s"cp1252"\s-\syour\ssource\sfile\sshould\sbe\sin\s"cp1252".\s\n\nThe\smulti\sbyte\s<->\ssingle\sbyte\s(auto)\stranslation\scan\sbe\sa\slittle\sbit\sdifferent\sbetween\s8.5\sand\s8.3.\sBut\si\scould\snot\sreproduce\sit,\swithout\smore\sinformation,\ssuch\splatform,\ssystem\sencoding,\sfile\sencoding,\s"init.tcl"\sloaded\s(or\snot),\setc.\s\n\nOtherwise,\sread\sthe\sfile\sin\sthe\s"file\sencoding"\swith\s"Tcl_FSEvalFileEx":\s\n\nTcl_Obj\s*pathPtr\s=\sTcl_NewStringObj("filename.tcl",\s-1);\nTcl_IncrRefCount(pathPtr);\nret\s=\sTcl_FSEvalFileEx(interp,\spathPtr,\sencodingName);\nTcl_DecrRefCount(pathPtr);\n\nor\sby\susing\sof\spure\stcl:\n\nsource\s-encoding\s"utf-8"\s"filename.tcl"\n\n
J login sebres
J mimetype text/plain
J username sebres
K 3483277fffffffffffffffffffffffffffffffff
U sebres
Z 3d31bff3915392d6e94e80f07b373553