Overview
| Artifact ID: | 7bfc39e208ebe5ccf7df82adb7a641d526215eb8 |
|---|---|
| Ticket: | 218750ffffffffffffffffffffffffffffffffff
Number of known locales is too limited |
| User & Date: | nobody on 2000-10-26 01:04:55 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1990 Bug Version: 8.1 SubmitDate: '1999-05-05' LastModified: '1999-08-08' Severity: LOW Status: Released Submitter: pat ChangedBy: hobbs RelatedBugIDs: 1988 1989 OS: Linux Machine: Other FixedDate: '1999-08-08' FixedInVersion: 8.1.1 ClosedDate: '2000-10-25' Name: Victor Wagner Comments: Table localeTable in tclUnixInit.c have a table of known locales. These locales cover only few countries with multibyte encodings (Korea, Japan and what is zh). All countries which use 8-byte charset other than ISOLatin1 are not covered. It is evident that attemt to include every possible locale variation would result in huge list. But this list can be shortened considerably if there would be some simple logic which would extract encoding name from locale name (part after dot) and attempt to use it as encoding name. (after lowercasing, becouse X11 require encoding part to be uppercased) ObservedBehavior: Only few japanese and korean locales are recognized. No Russian, Greek, Bolgarian, Ukrainian, Polish locales are recognized, while these countries don't use ISO8859-1 encoding DesiredBehavior: Any locale which contains explicit encoding specification (i.e. encoding name after dot) should be recognized if this encoding name is known to tcl. The suggestion of extracting the encoding string from the tail of the locale (e.g. pulling out the SJIS from ja_JP.SJIS) is sound and should be done to expand the number of locales that can automatically be handled. 05/05/1999 11:31 - stanton - Fixed 5/13/99 by stanton. -- 08/08/1999 hobbs - foundin changed to: "obsolete: 8.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Number of known locales is too limited"
- type changed to: "Bug"