Skip to content
Tcl Source Code Artifact [8f11d755e8]
Login

Artifact [8f11d755e8]

Artifact 8f11d755e88f6295850b63ecebc4d6502beed28704954c44ffecb0aaaeb5d8cf:

Ticket change [8f11d755e8] - Ticket [85ddd247b637bcb2|85ddd247b6] <i>Unable to set channel to binary encoding</i> status still Open with 3 other changes by sebres on 2024-06-22 11:16:59.
D 2024-06-22T11:16:59.611
J icomment <blockquote>>\sThe\sdocumentation\sshould\sexplain\sthat\sin\sTcl\s"binary"\sdata\s*is*\stext</blockquote>\r\n\r\nIt\sis\snot!\sIt\sis\sand\sremain\sbytearray,\sat\sleast\sas\slong\sone\sis\sworking\sonly\swith\scommands\ssupporting\sbinary\sdata\s(bytearray),\sit'd\seven\snever\sshimmer\sto\ssomething\selse\s(and\sshall\snot\sdo\sthat).\r\n\r\nEAIS\smay\slead\speople\sto\smake\sthe\ssame\smistake,\syou\sdid,\sbut\sit\sdoesn't\schange\sthe\sreality\s-\sbytearray's\sremain\sspecial\sthings\sin\sTcl.\r\nBytearrays\swere\snever\stexts\sand\swill\snever\sbe.\sThe\sfact\sthat\sbytes\sare\salso\srepresentable\sas\sstring\s(chars)\sin\sTcl\s(without\sexplicit\sconversion\sor\scast\sdue\sto\sEIAS)\sshall\snot\sbe\sexplained,\sas\syou\ssuggest,\sthat\sit\sis\stext\sin\sTcl,\sbecause\sit\sis\snot.\r\n\r\nAlso\sI\sdon't\sunderstand\show\sit\scan\sbe\scomparable\swith\siso8859-1\s(where,\sstrictly\sseen\sthe\sstandard,\sit\sdefinitely\smisses\schars\s0x00-0x1F\sand\s0x7F-0x9F,\sso\sI\sguess\sit\sneed\sto\sfail\swith\sprofile\sstrict\sor\sreplace\swith\sprofile\sreplace,\sand\seven\sif\sit\sdoesn't\sright\snow,\sit\smay\sbe\schanged\slater).\r\nNor\sI\sunderstand\show\sarguments\slike\sthis\smay\shelp\sby\sthe\sissue.\r\nBy\sthe\sway,\sunicode\sis\salso\snot\sa\sreal\sencoding,\sbecause\ssimilar\sto\sbinary\sit\ssimply\sforces\stcl\sto\shandle\schannel\sas\sunicode\sstring\s(objects\swith\sunicode\srepresentation),\showever\sit\sdoesn't\sbother\ssomeone\sat\sall.
J login sebres
J mimetype text/x-markdown
K 85ddd247b637bcb25990fc55536e0ce3f9e754b2
U sebres
Z 8082841597fe0cb41059e864f6fbf31b