Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bda150c6d3adb5bb8ff02e262147e5ad756ffbe1
Ticket: 1513659fffffffffffffffffffffffffffffffff
Unicode-related tests fail for non-C LANG
User & Date: kot on 2006-07-04 00:25:05
Changes

  1. icomment:
    Logged In: YES 
    user_id=173641
    
    As I mentioned from the beginning, uk_UA.KOI8-U is just an 
    example. ru_RU.ISO8859-5 is causing similar breakage. As do 
    la_LN.ISO8859-4, hu_HU.ISO8859-2, while those matching 
    *ISO8859-1* seem to work.
    
    ==== 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
    
    error.test
    eval.test
    event.test
    exec.test
    
    ==== exec-2.6 redirecting input from immediate source, with 
    UTF FAILED
    ==== Contents of test case:
    
        # If this fails, it may give back:
        # "\uC3\uA9\uC3\uA0\uC3\uBC\uC3\uB1"
        # If it does, this means that the UTF -> external 
    conversion did not 
        # occur before writing out the temp file.
        exec [interpreter] $path(cat) << "\uE9\uE0\uFC\uF1"
    
    ---- Result was:
    ????
    ---- Result should have been (exact matching):
    ????
    ==== exec-2.6 FAILED
    
    execute.test
    expr-old.test
    expr.test
    
    ==== expr-8.13 CompileBitAndExpr: equality expr FAILED
    ==== Contents of test case:
    expr {"\374" eq "Э"}
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== expr-8.13 FAILED
    [...]
    unixInit.test
    
    ==== unixInit-2.4 TclpInitLibraryPath: TCL_LIBRARY: INTL 
    FAILED
    ==== Contents of test case:
    
        # Child process translates env variable from native 
    encoding.
    
        set env(TCL_LIBRARY) "\xa7"
        set x [lindex [getlibpath] 0]
        unset env(TCL_LIBRARY)
        unset env(LANG)
    
        set x
    
    ---- Result was:
    ?
    ---- Result should have been (exact matching):
    ?
    ==== unixInit-2.4 FAILED
    
    
    
  2. login: "kot"
  3. mimetype: "text/plain"
  4. username: "kot"