<i>Setting of system encoding isn't applied to stdout on certain circumstances</i> status still Closed with 5 other changes
by
.
D 2025-08-18T17:10:55.416
J closedate 2460906.21591917
J closer apnadkarni
J icomment @sebres,\sare\syou\ssuggesting\skeeping\sthis\sbug\sopen\sor\sthat\sthe\slazy\sinitializing\sshould\salso\sbe\sin\s9.0,\snot\sjust\s9.1?\sPart\sof\sthe\sreason\sfor\sclosing\sthis\sis\sto\strack\sthe\s"lazy\soo\sinit"\sproject\sin\sa\ssingle\sticket\s[effa2e2346].\r\n\r\nIndeed\sthe\simpact\sof\sthis\slazy\schange\son\sthat\sthree\sline\sscript\swas\smystifying.\sAt\sleast\sto\ssome\sextent,\sI\sfeel\sthis\sis\sthe\sresult\sof\sa\srather\sconvoluted\sinitialization\ssequence\s(perhaps\snecessarily\sso)\sthat\sI\sjust\sdocumented\sin\sthe\s[wiki](https://core.tcl-lang.org/tcl/wiki?name=tclsh+initialization+sequence).\sIf\sthat\scould\sbe\sstreamlined\sand\swell\sdefined\s(it\scurrently\sdepends\son\swhich\sof\sseveral\sTcl\sinitialization\sfunctions\sis\scalled\sfirst),\smany\sof\sthese\s"heisenbugs"\swould\sgo\saway\sI\sthink.
J login apnadkarni
J mimetype text/x-markdown
K 8a13caa31dd8e3a546b8d44c235bb98cd52bd774
U apnadkarni
Z 84d571103367b5e0e87c7891113e6239