Skip to content
Tcl Source Code Artifact [54d99bcfd9]
Login

Artifact [54d99bcfd9]

Artifact 54d99bcfd9bce947776aaea4eac8cd767e34db4bbb7228f518a8021dd454c8b9:

Ticket change [54d99bcfd9] - Ticket [fb368527aeed240f|fb368527ae] <i>String truncation in encoding &gt; 2GB length</i> status still Open with 3 other changes by jan.nijtmans on 2023-02-26 17:03:43.
D 2023-02-26T17:03:43.218
J icomment >\sNot\sa\sgood\sAPI\sdesign\simo.\r\n\r\nOh,\sI\sagree\son\sthat.\sThe\sTcl_UtfToExternal()/Tcl_ExternalToUtf()\sAPI\sis\ssimply\stoo\scomplicated.\sBut\skeeping\ssrcLen\sof\stype\s'int'\swill\smean\sthat\sin\sthe\szipfs\sexample\sthe\soutput\ssimply\swill\sbe\struncated\s(stopping\sat\sthe\sfirst\s0-byte)\swithout\sTcl_UtfToExternal\sbeing\sable\sto\sreport\sthe\serror.\sReturning\sTCL_CONVERT_NOSPACE\sis\sbetter\sthan\sreturning\sTCL_OK\s(but\sa\sseparate\serror-code\sfor\sthis\scase\swould\seven\sbe\sbetter)
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K fb368527aeed240f2b345be96119ea66e1fce6fb
U jan.nijtmans
Z 7f6954e1f233c1254f236870c253a913