Overview
| Artifact ID: | f7f5a0389b636d59e3348dd14eed4cfae60dd1f5 |
|---|---|
| Ticket: | 217815ffffffffffffffffffffffffffffffffff
Missing locale support in Tcl |
| User & Date: | nobody on 2000-10-26 00:44:06 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1391 Bug Version: 8.0.3 SubmitDate: '1999-03-02' LastModified: '1999-08-07' Severity: SER Status: Closed Submitter: pat ChangedBy: hobbs RelatedBugIDs: 1352 1251 OS: Other OSVersion: Linux (all versions) BSDI (all versions) Solaris (2.5). Really t Machine: NA FixedDate: '2000-10-25' ClosedDate: '1999-08-07' Extensions: not relevant CustomShell: not relevant ReproducibleScript: string toupper, string tolower. string wordstart and string wordend commands are affected ObservedBehavior: Subcommands of string command which use C function from ctype.h i.e. string toupper, string tolower, string worstart and lsort with -dictionary option always use default "C" locale, instead of current user's locale DesiredBehavior: Commands, mentioned above should use current locale settings Patch: Add call of setlocale(LC_ALL,"") at the beginning of Tcl_Main function Add #include <locale.h> in appropriate place in the beginning of tclMain.c PatchFiles: tclMain.c Workaround, shown above fixes problem with string toupper/tolower, but doesn't fix problem with lsort -dictionary
- foundin changed to: "obsolete: 8.0.3"
- 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: "Missing locale support in Tcl"
- type changed to: "Bug"