<i>"encoding user": wrong answer with UTF-8 setting in manifest</i>.
by
.
D 2025-05-21T10:01:32.814
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment Just\slike\s[8ffd8cabd1],\swe\sexpect\sall\sTcl\scommands\sto\sgive\sthe\ssame\sanswer,\swhether\sthe\sUTF-8\ssetting\sis\savailable\sin\sthe\smanifest\sor\snot.\r\n\r\nLet's\ssee\sif\sTIP\s#716\sadhers\sto\sthat:\r\n\r\n<pre>\r\n>.\\tclsh90\r\n%\stcl::build-info\r\n9.0.2+af16c07b81655fabde8028374161ad54b84ef9956843c63f49976b4ef601b611.gcc-1002\r\n%\sencoding\suser\r\ncp1252\r\n%\sexit\r\n\r\n>.\\wish90\r\n%\stcl::build-info\r\n9.0.2+af16c07b81655fabde8028374161ad54b84ef9956843c63f49976b4ef601b611.gcc-1002\r\n%\sencoding\suser\r\nutf-8\r\n%\sexit\r\n</pre>\r\n\r\nWe\sexpect\sthe\ssame\sanswer\s(cp1252)\sin\sboth\scases.\sIf\stcl90.dll\sis\sembedded\sin\sR,\sthe\ssame\swill\shappen\sin\sthat\senvironment\s(using\swish90\shere\sis\sjust\sfor\sdemo\spurposes).\r\n\r\nNote\sthat\swish90\shas\sthe\sUTF-8\ssetting\sin\sthe\smanifest,\stclsh90\shas\snot\s(it's\sthe\sTIP\s#716\simplementation).\sThe\stcl\sdll\s(tcl90.dll)\sis\sthe\ssame\sin\sboth\scases.\r\n\r\nTIP\s#718\sdoesn't\shave\sthis\sproblem,\sbecause\sit\sreads\svalue\sfrom\sthe\sregistry\sdirectly\sin\sstead\sof\sdepending\son\sthe\sgetACP()\sfunction\s(which\sis\sthe\scause\sof\sthe\sproblem\shere).
J foundin TIP\s#716
J is_private 0
J login jan.nijtmans
J priority 5\sMedium
J private_contact 0c50e5320704d174412e57b873d8932de15303e0
J resolution None
J severity Important
J status Open
J submitter jan.nijtmans
J subsystem 52.\sPortability\sSupport
J title "encoding\suser":\swrong\sanswer\swith\sUTF-8\ssetting\sin\smanifest
J type Bug
K c776eb586d08c2f74ea462946b187e12ac182f0a
U jan.nijtmans
Z 773b84e46adbea09c0b308437c1190ec