Skip to content
Tcl Source Code Artifact [97e4ff4785]
Login

Artifact [97e4ff4785]

Artifact 97e4ff4785a4863052681a29c756680b305f2b5d:

Ticket change [97e4ff4785] - Ticket [07b3bc4cbe2b2ab0|07b3bc4cbe] <i>bug in &quot;encoding convertto utf-8&quot;</i> status still Open with 5 other changes by dkf on 2013-10-22 14:38:49.
D 2013-10-22T14:38:49.171
J comment I\sbelieve\sI\sfound\sa\sbug\sin\sthe\s"encoding\sconvertto\sutf-8"\scommand.\r\n\r\nIt\sconverts\sthe\sletter\s"Ø"\s(Uppercase\sO\swith\sa\sslash,\s\\u00d8)\sto\swrong\scode,\sat\sleast\sif\sI\swrite\sthe\sstring\sto\sa\sfile\swithout\s"fconfiguring"\sthe\sfile.\r\n\r\nThe\sbug\sdrove\sme\scrazy\stoday,\sas\sI\scouldn't\smake\smy\stlc-generated\sand\sutf-8-encoded\sxml\sfile\sto\sparse.\r\n\r\nI\sresolved\sthe\sproblem\sby\susing\sfconfigure\sand\sskip\sthe\sencoding\sof\seach\sindividual\sstring.\s\sIt\smight\sbe\sthat\sthe\scurrent\sfile\sconfiguration\swas\sincopatible\swith\sthe\sutf-encoded\sstring.\s\sI\shaven't\sstudiet\sthis\sin\sdetail,\sbut\sfortunately\sI\sfound\sa\sworaround\sto\sthe\sproblem.
J icomment Why\swere\syou\susing\s<tt>encoding\sconvertto\sutf-8</tt>\sduring\sthe\sprocess\sof\sproducing\soutput\sto\sa\schannel?\sIt's\snormally\senough\sto\sjust\s<tt>chan\sconfigure</tt>\sit\sand\sthen\swrite\scharacters.\sOr\swere\syou\sdouble-encoding\sit\s(which\swould\sbe\sa\s<i>script</i>\sbug)?
J login dkf
J mimetype text/html
J username dkf
K 07b3bc4cbe2b2ab03f91e716a40b5c4a6be57a7c
U dkf
Z ffe49346f5a4bbcab5464f49f83a2774