Tcl Source Code

View Ticket
Login
Ticket UUID: 1122203
Title: env-4.3(4,5) fail. Locale problem ?
Type: Bug Created on: 2005-02-14 08:03:54
Submitter: yuray Assigned to: hobbs
Subsystem: 08. Environment Variables Severity:
Priority: 5 Medium Last modified: 2005-02-14 08:03:54
Status: Open Closed by:
Resolution: None Closed on:
Version: obsolete: 8.5a3
Description:
Hello. 
I have Debian Linux/6386 testing
env.test 

==== env-4.3 setting international environment
variables FAILED
==== Contents of test case:

    set env(\ua7) \ub6
    getenv

---- Result was:
?=?
---- Result should have been (exact matching):
?=?
==== env-4.3 FAILED
==== env-4.4 changing international environment
variables FAILED
==== Contents of test case:

    set env(\ua7) \ua7
    getenv

---- Result was:
?=?
---- Result should have been (exact matching):
?=?
==== env-4.4 FAILED==== env-4.5 unsetting international
environment variables FAILED
==== Contents of test case:

    set env(\ub6) \ua7
    unset env(\ua7)
    set result [getenv]
    unset env(\ub6)
    set result

---- Result was:
?=?
---- Result should have been (exact matching):
?=?
==== env-4.5 FAILED

I have LC_ALL=ru_RU.KOI8-R  in system.
If I run make TEST LC_ALL=C
all test is OK.

This is not a env problem:

yuray@keeper:~/tst/tcl8.5a3/unix$ ./tclsh 
% set x \ub6
?
%