Overview
| Artifact ID: | f430e47c0d24b70458606d458dd796d906d62fd9 |
|---|---|
| Ticket: | 1252475fffffffffffffffffffffffffffffffff
Tcl doesn't properly recognize cp1251 encoding on Solaris |
| User & Date: | vbwagner on 2005-08-05 08:57:06 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
Solaris use non-standard name for cp1251 charset. nl_langinfo(CODESET) returns ansi-1251 instead of CP1251 on most other Unices. It seems that it is only locale on Solaris with such a property Proposed fix is trivial: --- tclUnixInit.c.orig 2005-08-05 12:55:15.000000000 +0400 +++ tclUnixInit.c 2005-08-05 12:55:52.000000000 +0400 @@ -81,6 +81,9 @@ static CONST LocaleTable localeTable[] = { #ifdef HAVE_LANGINFO {"gb2312-1980", "gb2312"}, +#ifdef __sun + {"ansi-1251", "cp1251"}, +#endif #ifdef __hpux {"SJIS", "shiftjis"}, {"eucjp", "euc-jp"}, - foundin changed to: "obsolete: 8.4.11"
- priority changed to: "4"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "vbwagner"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to:
Tcl doesn't properly recognize cp1251 encoding on Solaris
- type changed to: "Bug"