Artifacts Associated With Ticket 402874ffffffffff
Ticket change [f2d2123b66] (rid 109622) by haf on 2000-12-16 15:14:26:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to: " "
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "haf"
- subsystem initialized to: ""
- title initialized to:
localization - czech locale support for Tcl/Tk 8.3.2
- type initialized to: "Patch"
Add attachment "None" [2f3e80dd5d] (rid 93028) by haf on 2000-12-16 22:14:26.
Ticket change [68f851e483] (rid 103161) by haf on 2000-12-17 00:48:31:
- icomment:
DESC: Correct bug in patch for file tcl/generic/tclCmdIL.c diff -urw ../tclCmdIL.c.original tclCmdIL.c --- ../tclCmdIL.c.originalTue Apr 4 10:04:41 2000 +++ tclCmdIL.cThu Dec 9 16:17:57 2000 @@ -2823,6 +2823,10 @@ Tcl_Obj *objPtr; char buffer[TCL_INTEGER_SPACE]; + /* * */ + /* Variables which we need to locale sorting support. */ + Tcl_DString ds1, ds2; + /* * */ order = 0; if (infoPtr->resultCode != TCL_OK) { /* @@ -2889,7 +2893,10 @@ objPtr2 = objPtr; } if (infoPtr->sortMode == SORTMODE_ASCII) { -order = strcmp(Tcl_GetString(objPtr1), Tcl_GetString(objPtr2)); +/* * */ +/* Apply locale dependent sorting rules - patch by Roman Vasicek */ +order = strcoll(Tcl_UtfToExternalDString(NULL, Tcl_GetString(objPtr1), -1, &ds1), Tcl_UtfToExternalDString(NULL, Tcl_GetString(objPtr2), -1, &ds2)); +/* * */ } else if (infoPtr->sortMode == SORTMODE_DICTIONARY) { order = DictionaryCompare( Tcl_GetString(objPtr1),Tcl_GetString(objPtr2)); @@ -2963,6 +2970,10 @@ if (!infoPtr->isIncreasing) { order = -order; } + /* * */ + Tcl_DStringFree(&ds1); + Tcl_DStringFree(&ds2); + /* * */ return order; } - login: "haf"
- mimetype: "text/plain"
- username: "haf"
- icomment:
Ticket change [94d9c23831] (rid 106069) by hobbs on 2001-03-29 08:56:07:
- icomment:
Logged In: YES user_id=72656 While some parts of this look OK, others look like they might adversely affect users in other locales, especially if they are relying on i18n standard behavior (please note that i18n != l10n). In the places where it might be good, I believe it would be better to add -locale options, or some other capability to switch this on and off.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [234e6df562] (rid 130900) by hobbs on 2002-08-08 14:47:18:
- closedate changed to: "2002-08-08T07:47:18"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Note that 8.4 has improved locale detection, so I believe most of this patch is mitigated there. The other parts really need proper -locale options.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- username: "hobbs"
Ticket change [dc860df61a] (rid 148434) by dkf on 2016-08-23 09:39:05:
- closedate changed to: "2457623.90215014"
- closer changed to: "dkf"
- comment changed to: ""
- login: "dkf"
- mimetype: "text/plain"
- severity changed to: "Minor"
- subsystem changed to: "17. Commands I-L"