.
D 2024-07-01T12:25:23.790
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment The\scurrent\sdocumentation\sof\s"encoding\ssystem"\sis:\r\n\r\n<verbatim>\r\nencoding\ssystem\s?encoding?\r\nSet\sthe\ssystem\sencoding\sto\sencoding.\r\nIf\sencoding\sis\somitted\sthen\sthe\scommand\sreturns\sthe\scurrent\ssystem\sencoding.\r\nThe\ssystem\sencoding\sis\sused\swhenever\sTcl\spasses\sstrings\sto\ssystem\scalls.\s\r\n</verbatim>\r\n\r\nIMHO,\sthe\sinformation,\sthat\sthe\ssystem\sencoding\sis\sused\sfor\ssystem\scalls\sis\sonly\spartly\scorrect.\r\nThe\susage\sis\splatform\sdependent.\sMore\sand\smore\ssystem\sAPI\smigrate\sto\sa\sfix\sencoding.\sOn\sthe\sWindows\sside,\sthe\sCESU16\sencoding\sis\sused\sfor\sall\smost\scalls\sindependent\son\sthis\ssetting.\r\n\r\nThe\sdefault\sencoding\shas\sthe\sfollowing\sconsequences:\r\n\r\n\s\s\s*\s\s\sit\sis\sthe\sdefault\sencoding\sfor\sfiles\sand\ssockets,\sif\sno\sencoding\sis\sspecified\r\n\s\s\s*\s\s\sit\sis\sthe\sdefault\sencoding\sfor\sthe\sencoding\sconvertfrom/convertto\scommands\r\n\s\s\s*\s\s\sit\smay\sbe\sused\sfor\ssystem\sresources\slike\sfile\snames,\spipe\sdata,\senvironment\svariables\sand\scommand\sline\sarguments.\sThis\sis\splatform\sdependend\sand\sunclear\sto\sthe\sauthor.\r\n\r\nAnother\spoint\snot\sdocumented\sjet\sis\sthe\sinitial\svalue\sof\sthis\sparameter.\r\nOn\sMS-Windows,\sthe\sinitial\svalue\sdepends\son\sthe\sexecutable\sprogram\smanifest.\r\nThis\schanged\sfrom\sTCL8.6\sto\s9.0\sfor\stclsh\sand\swish\sby\sadding\sthe\sfollowing\spart:\r\n\r\n<verbatim>\r\n\t<asmv3:windowsSettings\r\n\t\txmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">\r\n\t\s\s\s\s<activeCodePage>UTF-8</activeCodePage>\r\n</verbatim>\r\n\r\nIn\sconsequence,\sthe\sinitial\svalue\sof\s"encoding\ssystem"\schanged\sfrom\scpxxxx\s(cp1252\son\sWest\sEuropean\slanguage\sversion)\sto\sutf-8,\sbut\sis\sdependent\son\sthe\sway,\sit\sis\sbuild.\sIf\stcl\sis\sembedded,\sthe\ssystem\sencoding\smay\sdepend\son\sthe\smanifest\sof\sthe\sparent\sapplication\soutside\sof\sthe\scontrol\sof\sTCL\sitself.\r\nIt\salso\sapplies\sto\sTCL\s8.6.\r\n\r\nOther\splatforms\smay\shave\sdifferent\sdetails.\r\n\r\nIn\sconsequence,\sthe\sdescription\sof\sthe\scommand\smay\sbe\schanged\sto\sreflect\sthis\sfunctionality.\r\n\r\nA\sproposal\sfor\sthe\srewording\sis\sstarted\swith\scommit\s[ade0479e60]\swithin\sbranch\s[doc-encoding-system].\r\nRemark,\sthat\sthe\sinformation\sfor\sTCL\s9\sand\sTCL\s8\sshould\sbe\sdifferent.\r\nThe\schange\swithin\sthe\sversion\smay\salready\sbe\sannounced\sin\s8.6\sand\sunderlined\sin\s9.0.\r\nConcrete\splatform\sinformation\sis\spending.\r\n\r\nIt\sshould\salso\sbe\sstated,\sif\sthis\sinformation\sis\sthread\slocal\sor\sprocess\slocal,\se.g.\sif\schanged,\swhere\sis\sit\sapplied.\r\n\r\nIn\saddition,\sa\scompatibility\srecipe\sto\s8.6\smay\sbe\sadded\shere,\sif\sone\swants\sto\srestore\sthe\s"no\smanifest"\svalue\sby\sthe\sscript\slevel.\r\n\r\nMany\squestions,\ssorry\s!\r\nThank\syou\sfor\sall,\r\nHarald
J foundin 8.6\s-\s9.0
J is_private 0
J login oehhar
J priority 5\sMedium
J private_contact 0f366eb3e9e2fcab52b8ebacd197db9047186a5f
J resolution None
J severity Minor
J status Open
J submitter oehhar
J subsystem 16.\sCommands\sA-H
J title Documentation\sof\s"encoding\ssystem"\smay\sbe\senhanced.
J type RFE
K a008bc0a7e785fa7c93e621121c4b838ca23b0de
U oehhar
Z 634a924ac3247d53562848b7f20fce94