Skip to content
Tcl Source Code Artifact [02bc18dcc1]
Login

Artifact [02bc18dcc1]

Artifact 02bc18dcc161a27bcf5e105cd6068fa6c8b00099f760d5343d50f650ac9a0354:

Ticket change [02bc18dcc1] - Ticket [8cae59ecb03a6269|8cae59ecb0] <i>Eliminate &quot;-encoding binary&quot; in favour of &quot;-translation binary&quot;</i> status still Open with 3 other changes by cjmcdonald on 2024-06-20 13:21:27.
D 2024-06-20T13:21:27.143
J icomment As\sthe\ssubmitter\sof\sthe\sticket\swhich\sJan\sreferred\sto,\sI'll\scomment\sthat\sthere\swas\sno\sconfusion\sbetween\s"-encoding\sbinary"\sand\s"-translation\sbinary".\s\sI'm\saware\sof\sthe\sdifference,\sand\swould\snormally\suse\s"-translation\sbinary"\sin\sa\sprogram,\sbut\schose\sto\suse\s"-encoding\sbinary"\sin\sthe\sticket\sbecause\sI\sthought\sthat\sit\smore\sclearly\sdemonstrated\sthe\sissue,\swhich\sis\sthat\ssetting\sencoding\sto\sbinary\sresults\sin\sit\sshowing\san\sencoding\sof\siso8859-1.\s\sThat\sis\swhat\sis\sconfusing.\r\n\r\nUsing\s"-translation\sbinary"\sdoesn't\smake\sany\sdifference,\sit\sstill\sresults\sin\sa\schannel\sencoding\sof\siso8859-1,\sin\sTcl\s9.0b2,\swhereas\sin\s8.x\sit\sshowed\sa\sbinary\sencoding.\s\sThe\sdescription\swhich\sJan\slinked\sto\sas\s"clearly\sdocumenting"\sthe\sbehaviour\ssimply\ssays\sthat\sthe\sencoding\sshould\sbe\sset\sto\sbinary,\spreferably\susing\s"-translation\sbinary".\s\sIt\ssays\snothing\sabout\sthat\sencoding\ssetting\sbeing\ssilently\schanged\sto\siso8859-1.\s\sAs\sfar\sas\sI\scan\ssee\sthat's\sundocumented\sin\sthe\sman\spages,\sand\sis\sreally\sexposing\ssome\sartefact\sof\sthe\sinternal\simplementation\sto\sthe\suser.\s\sI\swasn't\saware\sthat\s"-encoding\sbinary"\sis\san\salias\sfor\s"-encoding\siso8859-1".\s\r\n\r\nI\sobserve\sthat\sone\sof\sthe\sgoals\sof\svery\srecent\scommits\son\sTk\swidgets\swas\sto\skeep\ssize\svalues\sspecified\son\soptions\sunchanged,\sas\sspecified\sby\sthe\suser,\srather\sthan\schanging\sthem\sto\sthe\sinternal\spixel\svalue\s-\sthat\swas\sconsidered\sbad\spractice,\sand\sthis\sseems\sto\sme\sto\sbe\sa\ssimilar\scase.
J login cjmcdonald
J mimetype text/plain
K 8cae59ecb03a6269468379a1e028c01f604ce5de
U cjmcdonald
Z 282f15fbb0e6b1768e1cca54176a8dd2