: <i>[fcopy $chan1 $chan2 -size $size] is not [puts -nonewline $chan2 [read $chan1 -size $size]</i> plus 5 other changes
by
.
D 2023-04-05T17:10:51.913
J icomment I\sbelieve\sthe\stest\sfailures\son\sWindows\sare\srelated\sto\sthe\sfact\sthat\r\n<code>Tcl_UtfToExternal()</code>\r\n[https://core.tcl-lang.org/tcl/file?udc=1&ln=1713&ci=b27eacb7fcde86db&name=generic%2FtclEncoding.c|sets\r\nthe\sencoding\sto\sthe\ssystem\sencoding]\swhen\sencoding\sis\s<code>NULL</code>.\s\sI\r\ndon't\sknow\swhy\sthe\stests\sfail\sonly\swith\sthe\smsvc\sbuild\sthough.\s\sThe\sdesign\r\nproblem\sis\sthat\sin\s<code>ChannelState.encoding</code>,\s<code>NULL</code>\r\nrepresents\sthe\sbinary\sencoding,\swhereas\sin\s<Tcl_UtfToExternal()</code>,\r\n<code>NULL</code>\srepresents\sthe\ssystem\sencoding.\s\sThere\sare\sprobably\sseveral\r\nways\sto\sfix\sthat,\swith\ssome\sof\sthose\sways\sbeing\smore\shacky\sthan\sothers.
J login pooryorick
J mimetype text/x-fossil-wiki
J priority 1\sZero
J resolution Accepted
J status Open
K fa3d9fd818fa0072b60dcd14614ebf33d90e4d6b
U pooryorick
Z c651e610f09d3954139b4fdbd5bc1461