Skip to content
Tcl Source Code Artifact [26c9be38b0]
Login

Artifact [26c9be38b0]

Artifact 26c9be38b0d1f1d19a8b9b6bad86ab8a9ae566ccc03fb3e2444262164a34a4d0:

Ticket change [26c9be38b0] - Ticket [8f89e2e059aafa1c|8f89e2e059] <i>Windows: environment is not reflected properly (special characters)</i> status still Open with 3 other changes by sebres on 2020-03-12 18:22:19.
D 2020-03-12T18:22:19.456
J icomment 1.\sYou\scannot\schange\sthe\ssystem\sencoding\svia\scommand\sline\sparameter\s-\sthis\sspecifies\sonly\sthe\schar-set\sof\sthe\scontent\sof\sgiven\sscript\s(so\sbasically\sloads\sthe\sfile\swith\sproper\sencoding\sonly):\r\n<verbatim>\r\n\s\s\s#\sthis\sdoes\snot\schange\ssystem\sencoding:\r\n\s\s\s>\secho\sputs\s[encoding\ssystem]\s|\stclsh86\s-encoding\sutf-8\r\n\s\s\scp1252\r\n\s\s\s#\sthis\swill\sload\s"main.tcl"\susing\sutf-8,\sbut\salso\sdoes\snot\schange\ssys-encoding:\r\n\s\s\s>\secho\sputs\s[encoding\ssystem]\s>\s%TEMP%\\main.tcl\r\n\s\s\s>\stclsh86.exe\s-encoding\sutf-8\s%TEMP%\\main.tcl\s&&\sdel\s%TEMP%\\main.tcl\r\n\s\s\scp1252\r\n</verbatim>\r\nSo\syou\shave\seither\sto\sset\sit\sproperly\sin\sthe\ssystem\sor\sin\sthe\smain\sscript\sself.\r\n\r\n2.\sI\stried\sto\sback-port\smy\s"fix"\sand\sgot\smany\sconflicts\sI\shave\sstill\sto\sresolve\s(and\sI'm\spretty\ssure\sI\sget\ssome\sthings\sin\senv.test\sthat\sI\shave\sto\scorrect\stoo)...\sbe\spatient.
J login sebres
J mimetype text/x-fossil-wiki
K 8f89e2e059aafa1cff0622d85efb936f48c04411
U sebres
Z 54e658f610b924ac321b4f6a569e5263