Skip to content
Tcl Source Code Artifact [4ed383219b]
Login

Artifact [4ed383219b]

Artifact 4ed383219b4054284eee86e2076927ce646aa131:

Ticket change [4ed383219b] - Ticket [525525ffffffffff|525525ffff] <i>wrong file list in msgcat::mclocale</i> status still Open with 4 other changes by haible on 2002-04-20 09:01:27.
D 2002-04-20T09:01:27
J icomment Logged\sIn:\sYES\s\nuser_id=5923\n\nI\scan\ssee\sthree\sproblems\sin\sthe\spatch.\n\n1)\sThese\squestion\smarks\sshould\sbe\sbrackets.\n\n\s\s\s\s\s#\sAssume\s$value\sis\sof\sform:\n$language?_$territory??.$codeset??@modifier?\n\s\s\s\s\s#\sConvert\sto\sform:\s$language?_$territory??_$modifier?\n\n2)\sThe\sfunction\sConvertLocale\sgives\san\serror\swhen\sthe\nargument\sstring\scontains\san\s@\ssign.\sYou\scan\stry\sthese\stests:\n\necho\s[msgcat::ConvertLocale\s"de"]\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s->\sde\necho\s[msgcat::ConvertLocale\s"de_DE"]\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s->\sde_DE\necho\s[msgcat::ConvertLocale\s"de.UTF-8"]\s\s\s\s\s\s\s\s\s\s\s\s\s->\sde\necho\s[msgcat::ConvertLocale\s"de_DE.UTF-8"]\s\s\s\s\s\s\s\s\s\s->\sde_DE\necho\s[msgcat::ConvertLocale\s"de@bayrisch"]\s\s\s\s\s\s\s\s\s\s->\nde_bayrisch\necho\s[msgcat::ConvertLocale\s"de_DE@bayrisch"]\s\s\s\s\s\s\s->\nde_DE_bayrisch\necho\s[msgcat::ConvertLocale\s"de.UTF-8@bayrisch"]\s\s\s\s->\nde_bayrisch\necho\s[msgcat::ConvertLocale\s"de_DE.UTF-8@bayrisch"]\s->\nde_DE_bayrisch\n\n3)\s[info\sexists\s::env(...)]\sreturns\strue\sfor\san\sempty\nenvironment\svalue,\sright?\sBut\s::env("LANG")\smust\sbe\signored\nif\sit\sis\sset\sto\sempty\s(see\sbug\s#525522).\sSimilarly\sfor\nLC_MESSAGES\sand\sLC_ALL.\n\n
J login haible
J mimetype text/plain
J username haible
K 525525ffffffffffffffffffffffffffffffffff
U haible
Z b9cdbf3436497ab1e3672878e1f47d2d