<i>TclGetProcessGlobalValue encodes information twice on Windows</i> status still Open with 3 other changes
by
.
D 2024-05-23T10:24:57.568
J icomment First\sfix\sattempt\s[e99ba027563f4781|here]\r\n\r\nOn\sUNIX/MacOS,\sand\sTcl9.0b2\sthere\sis\sno\sproblem,\sbecause\sthe\ssystem\sencoding\sis\salways\sutf-8.\sSo\sconverting\sbetween\snative\sencoding\sand\sutf-8\sdoesn't\schange\sanything.\r\n\r\nIf\sthe\ssystem\sencoding\sis\snot\sutf-8,\sI\ssee\stwo\sdifferent\sproblems.\sThe\sGlobalValues\sare\sinternally\sstored\sin\snative\sencoding,\sand\salso\sstored\sin\sa\sseparate\scache.\sThe\scache\sstorage\sshould\sbe\sin\sutf-8,\sbut\sit\sisn't\salways!\r\n\r\nFurther\son,\son\sWindows,\sthe\s"hostname"\svalue\sis\sstored\sin\sutf-8,\sin\sboth\sthe\sinternal\sstorage\sand\sin\sthe\scache.\sFor\sthe\scache\sthis\sis\sOK,\sbut\sthe\snative\sstorage\sshould\shave\sbeen\sdone\sin\sthe\snative\sencoding.\r\n\r\nI\sdon't\shave\sa\shostname\swith\snon-ascii\scharacters\shere.\sCan\ssomeone\sconfirm\swhether\sit\sworks\sor\snot?
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 3fc3287497a7e281b96661f883c20e0e74a0fca7
U jan.nijtmans
Z 053c42a645864260518b2395049886ae