Overview
| Artifact ID: | e49654ea5d3d505b6ea68924e3aadbee089470e1 |
|---|---|
| Ticket: | 525525ffffffffffffffffffffffffffffffffff
wrong file list in msgcat::mclocale |
| User & Date: | dgp on 2002-04-20 05:22:28 |
Changes
- icomment:
Logged In: YES user_id=80530 Various man pages and online references suggest that the XPG4 canonical form for a locale (for example, a suitable value for $::env(LANG)) is language[_territroy][.codeset][@modifier] Systems can understand locales of other forms as well, but I believe that systems (C libraries) conforming to XPG4 all agree on what locales of the form above mean. The [::msgcat::mclocale] command doesn't deal with all of that, though. It expects an argument that is a list of strings joined by "_", like en, en_US, or en_US_funky. So it seems that when pulling values out of environment variables, the msgcat package should pass the portion of the string before the first "." on to [mclocale]. I think that change would take care of this bug.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"