Skip to content
Tcl Source Code Artifact [00c9748172]
Login

Artifact [00c9748172]

Artifact 00c974817239cef9dee1f147d52449f23e6badb0b4f856b5439fd6480303155a:

Ticket change [00c9748172] - Ticket [4a7397e0b3d60f1a|4a7397e0b3] <i>Tcl 9: fcopy with -strictencoding 1 UTF-8 channels</i> status still Open with 4 other changes by jan.nijtmans on 2022-12-22 14:42:33.
D 2022-12-22T14:42:33.459
J icomment Looking\s[https://core.tcl-lang.org/tcl/file?udc=1&ln=9677&ci=tip&name=generic%2FtclIO.c|here],\sit's\squite\sunderstandable\swhy\sthis\shappens.\sThe\sfcopy\scode\shas\sa\svariable\s"sameEncoding",\swhich\sprevents\sthe\sencoding/decoding\sstep\swhen\sboth\sencodings\sare\sthe\ssame.\sThat's\san\soptimization\swhich\sdoesn't\stake\sthe\snew\sflags\sinto\saccount\r\n\r\n\r\nChanging\spriority\sto\s"Cosmetic".\sIf\syou\slike,\syou\scan\ssubmit\sa\spatch\sremoving\sthis\svariable,\sbut\sthe\schance\sintroducing\sa\sproblem\sis\shigher\sthan\sthe\schance\ssolving\sanything\spractical.\r\n\r\nMore\suseful\s(and\srelated):\sWhat\shappens\swhen\sconverting\sbetween\sutf-8\sand\sutf-16\s(for\sexample).\s"fcopy"\sis\snot\sable\sto\sthrow\san\sexception\scurrently.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J severity Cosmetic
K 4a7397e0b3d60f1aebf50331b748da9493dba07d
U jan.nijtmans
Z 153948d7acc40fb08e0a58c7c801d3c1