.
D 2001-09-20T13:36:34
J assignee dgp
J cmimetype text/plain
J comment When\slooking\sfor\sencodings,\sTcl\ssearches\salong\sthe\s\npaths\sreturned\sby\sTclGetLibraryPath(),\swhich\sis\sstored\s\nin\sthe\sC\svariable\s'tclLibraryPathStr'.\s\sIf\san\s\napplication,\sextension\sor\sscript\swishes\sto\saugment\sthe\s\nnative\sset\sof\sencodings\swith\ssome\snew\sencodings,\sTcl\s\nprovides\sno\spublic\sway\sto\sachieve\sthat.\s\sThe\sonly\s\naccess\sto\sthis\svalue\sis\sthrough:\n\n"tclInt.h"\nTclGetLibraryPath()\nTclSetLibraryPath()\n\n"in\sscripts"\n$tcl_libPath\s\s(but\sthis\sis\seffectively\sread-only,\s\nsince\sany\schanges\sto\sthe\svariable\shave\sno\seffect\son\s\nthe\sC\svariable\stclLibraryPathStr\snor\son\sthe\sencoding\s\nsearch\spath).\n\nA\spublic\sway\sof\seither\ssetting\sthis\ssearch\spath\sor\s\ndirectly\sadding\sencodings\sshould\sbe\sprovided\sin\sTcl\s(I\s\nwould\slean\stowards\sthe\sformer).\n\nI\sdon't\shave\sa\sconcrete\sproposal\sto\smake,\ssince\sI'm\s\nnot\svery\sfamiliar\swith\sthis\scode,\sbut\sit\sdoes\sseem\s\nlike\sif\smy\sscript\swants\sto\suse\sits\sown\snew\sencoding,\s\nit\sought\sto\sbe\sable\sto\sdo\sthat\swithout\shaving\sto\sadd\s\nthe\sencoding\sto\sa\spre-existing\sdirectory\son\s\n$tcl_libPath\s(to\swhich\sit\smight\snot\shave\swrite\saccess).\n\n\n\n
J foundin obsolete:\s8.3.3
J priority 5\sMedium
J resolution None
J status Open
J submitter vincentdarley
J subsystem 38.\sInit\s-\sLibrary\s-\sAutoload
J title no\spublic\sway\sto\sset\sencoding\ssearch
J type Bug
K 463190ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 11659f14e830b129c03e922aece37503