.
D 2026-10-16T22:05:58.208
J cmimetype text/x-fossil-wiki
J comment Since\s[17c53b7edd]\s(the\sfix\sfor\s[fccb9f322f])\sTcl_Init()\scalls\sTclpSetInitialEncodings()\sfor\severy\sinterpreter,\sso\screating\san\sinterpreter\s(also\swith\sThread\sor\sTk)\sresets\sthe\ssystem\sencoding\sto\sthe\sone\sfrom\sthe\senvironment:\n\n<verbatim>\nencoding\ssystem\skoi8-r\ninterp\screate\sa\nencoding\ssystem\s\s\s;#\sutf-8\s(8.6:\skoi8-r)\n</verbatim>\n\nThe\srepeated\sdetection\sis\salso\swhat\scalls\ssetlocale()\sin\sparallel\sthreads\sin\s[c35e347c6f].\sIt\sis\sonly\sneeded\swhile\sthe\searlier\sdetection\sfailed\s(the\sencoding\sfiles\swere\snot\sfound\syet).
J foundin 9.0.5,\s9.1.0
J login serhiy.storchaka
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter serhiy.storchaka
J subsystem 44.\sUTF-8\sStrings
J title interp\screate\sresets\sthe\ssystem\sencoding\sset\sby\sencoding\ssystem
J type Bug
K 63941fee4fc984f8675b6cabff50b18457b9255b
U serhiy.storchaka
Z 4ccb7dca5d96264a8fd3a51d08570dd1