Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5af03309d5dc87ab464eea18c91336e8e99077cf
Ticket: 218749ffffffffffffffffffffffffffffffffff
TclpSetInitialEncodings doesn't call setlocale
User & Date: nobody on 2000-10-26 01:04:54
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1989 Bug
    Version: 8.1
    SubmitDate: '1999-05-05'
    LastModified: '1999-08-08'
    Severity: CRIT
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    RelatedBugIDs: 1988
    OS: Linux
    OSVersion: Debian 2.0
    Machine: Other
    FixedDate: '1999-08-08'
    FixedInVersion: 8.1.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    Victor Wagner
    
    Extensions:
    none
    
    CustomShell:
    none
    
    Comments:
    Beta revisions of Tcl8.1 have used setlocale system function for
        determine name of current system encoding. It was removed in
        release version in favor of direct analysis of environment variables.
        But setlocale have significant side effect - it initilizes some
        important internal structures of libc, which are then used by libX11
        to translate keysyms into character codes. Without call of setlocale
        X11R6 with Xkb extension doesn't allow to input cyrillic letters.
    
    ObservedBehavior:
    system function setlocale isn't called during Tcl initialization.
        It used to be in beta, but it was removed in release.
    
    DesiredBehavior:
    setlocale should be called somewhen at startup, even if its output
        is discarded.
    
    
    
    Fixed 5/13/99 by stanton. 
    -- 08/08/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "TclpSetInitialEncodings doesn't call setlocale"
  11. type changed to: "Bug"