Skip to content
Tcl Source Code Artifact [82985fb63d]
Login

Artifact [82985fb63d]

Artifact 82985fb63d60be2da87a45e59529b00b1d97387f647e4f6f70ec40b7c2caef22:

Ticket change [82985fb63d] - Ticket [048dd20b4171c8da|048dd20b41] <i>cesu-8 encoding fails on \u80</i> status still Open with 3 other changes by pooryorick on 2021-06-19 09:05:46.
D 2021-06-19T09:05:46.022
J comment In\sthe\sfollowing\sscript,\sa\scharacter\sis\sunsuccessfully\sconverted\sto\scesu-8\sand\r\nback\sagain:\r\n\r\n<code><verbatim>\r\nset\schar\s\\u80\r\nset\sencoded\s[encoding\sconvertto\scesu-8\s$char]\r\nset\sdecoded\s[encoding\sconvertfrom\scesu-8\s$encoded]\r\nif\s{$decoded\sne\s$char}\s{\r\n\tscan\s$char\s%c\sord1\r\n\tscan\s$decoded\s%c\sord2\r\n\tputs\s[list\sfail\s$ord1\s$ord2]\r\n\r\n}\r\n</verbatim></code>
J login pooryorick
J mimetype text/plain
K 048dd20b4171c8da89d94a126e3f98c83178a33d
U pooryorick
Z 9814fff9f50a6acba0496d459d01c7c4