<i>Unable to set channel to binary encoding</i> status still Open with 3 other changes
by
.
D 2024-06-22T09:23:52.632
J icomment It's\simportant\sthat\speople\sunderstand\swhat\s"binary"\sreally\sis\sin\sthis\r\ntext-oriented\slanguage\swe\scall\sTcl.\s\sSugarcoating\snames\swith\sthe\sterm\s"binary"\r\nleads\sto\smore\ssubtle\sconfusion\samong\sTcl\sprogrammers.\s\sThe\sdocumentation\sshould\r\nexplain\sthat\sin\sTcl\s"binary"\sdata\s*is*\stext,\sand\sthat\sworking\swith\sbinary\sdata\r\nmeans\sconstraining\soneself\sto\susing\sonly\sthe\sfirst\s256\sUnicode\scharacters.\s\sIf\r\nanything,\s"binary"\sshould\sbe\sremoved\sas\san\sencoding\s(but\sshould\sremain\sfor\r\n-translation).\s\sThat\swould\shave\sthe\sbenefit\sthat\speople\swould\sno\slonger\smake\r\nthe\smistake\sof\susing\s"-encoding\sbinary"\swhen\sthey\smeant\s"-translation\sbinary",\r\nwhich\sis\sa\spretty\scommon\ssilent-corruption-producting\sfootgun.\r\n\r\nProgrammers\sshould\stake\sthe\stime\sto\sread\sthe\sdocs\sand\sunderstand\swhy\siso-8859-1\r\nis\sused\sto\sread\sand\swrite\stext\sthat\scan\sbe\sinterpreted\sas\s"binary"\sdata.
J login pooryorick
J mimetype text/x-fossil-wiki
K 85ddd247b637bcb25990fc55536e0ce3f9e754b2
U pooryorick
Z 3caba75798e3e32efb5abbae3ef15bcf