Skip to content
Tcl Source Code History Of Ticket 1252475fffffffff
Login

History Of Ticket 1252475fffffffff

Artifacts Associated With Ticket 1252475fffffffff

  1. Ticket change [f430e47c0d] (rid 129865) by vbwagner on 2005-08-05 08:57:06:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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"},
      
      
    4. foundin initialized to: "obsolete: 8.4.11"
    5. priority initialized to: "4"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "vbwagner"
    9. subsystem initialized to: "38. Init - Library - Autoload"
    10. title initialized to:
      Tcl doesn't properly recognize cp1251 encoding on Solaris
      
    11. type initialized to: "Bug"
  2. Ticket change [ac1023680b] (rid 101231) by dgp on 2005-08-06 02:40:10:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Are the #ifdef's important?
      
      Any reason to restrict this 
      encoding alias to only
      Sun (-compiled) systems?
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [685d342364] (rid 103053) by vbwagner on 2005-08-06 03:21:59:

    1. icomment:
      Logged In: YES 
      user_id=757679
      
      Probably #ifdef can be safely omitted. I cannot imagine a
      system, where ansi-1251 means something other than cp1251.
      But same applies to hpux-specific SJIS,  eucjp etc, which
      are hidden under #ifdef __hpux.
      
      I've just modelled my patch after existing __hpux specific code.
      
      
    2. login: "vbwagner"
    3. mimetype: "text/plain"
    4. username: "vbwagner"
  4. Ticket change [bfeba54fb0] (rid 102327) by dkf on 2005-08-06 03:48:35:

    1. closedate changed to: "2005-08-05T20:48:35"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  5. Ticket change [3e54ec80b7] (rid 121244) by dkf on 2005-08-06 04:01:45:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=79902
      
      I've fixed this (sans #ifdefs) on HEAD and 8.4 branch.
      Dratted vendors.
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. username: "dkf"