Artifact
524f2f4678241496d40b70d4a4cbd7a719502fbd:
Ticket change
[524f2f4678]
- New ticket
[506653ffffffffff|506653ffff] <i>Trouble escape encod. as system encod.</i>.
by
andreas_kupries on
2002-01-21 21:32:32.
D 2002-01-21T21:32:32
J assignee nijtmans
J cmimetype text/plain
J comment This\sis\sa\sfollow-up\sreport\sto\s#219314.\sWhile\sthe\spatch\s\nfor\sthat\sreport\spossibly\sfixes\sthe\sproblem\sfor\sthe\s\nparticular\sstrings\sused\sit\sdoes\snot\ssolve\sthe\sgeneral\s\nproblem\sexposed\sby\sthe\stest\sscript\sin\sthat\sreport.\n\nThe\sgeneral\sproblem\sis\sthis:\n\nWhen\susing\san\sescape\sencoding\sas\sthe\ssystem\sencoding\s\nwhere\swill\scome\sa\stime\swhen\sthe\sescape\sencoding\shas\sto\s\nload\sone\sof\sthe\ssubordinate\sencodings\sto\sperform\sits\s\ntask.\sAt\sthat\stime\sthe\ssystem\swill\stry\sto\stranslate\s\nthe\sfilename\sfor\sthat\ssubordinate\sencoding\susing\sthe\s\ncurrent\ssystem\sencoding.\sWhich\sis\spartially\sloaded,\swe\s\nhave\sto\sload\sa\ssubordinate\sencoding.\sThe\sfilename\sfor\s\nthat\shas\sto\sbe\stranslated\s...\sAd\sinfinitum.\sOr\sat\s\nleast\suntil\sstack\sor\sheap\srun\sout.\n\nJeff\sproposes\sthe\sfollowing\sgeneral\ssolution:\n\nWhen\sthe\scommand\s[encoding\ssystem]\sdetects\sthat\sthe\s\nusers\sasked\sit\sto\smake\san\sescape\sencoding\sthe\ssystem\s\nencoding\sit\spreloads\sall\ssubordinate\sencodings\s\n*before*\sinstalling\sthe\sescape\sencoding\sas\sthe\snew\s\nsystem\sencoding.\sThis\sprevents\sany\sfuture\sattempts\sto\s\nload\sthe\ssubordinate\sencodings.\sThe\spenalty\sis\sthat\s\nloading\sthe\ssystem\sencoding\stakes\smore\stime\sin\sthis\s\ncase.\n
J foundin None
J priority 6
J resolution None
J status Open
J submitter andreas_kupries
J subsystem 44.\sUTF-8\sStrings
J title Trouble\sescape\sencod.\sas\ssystem\sencod.
J type Bug
K 506653ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z d1b4f539d4ccf404512f0cfa28c962ee