Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a245814a00def52d91f8925d37e1170ac6a20f89
Ticket: 483468ffffffffffffffffffffffffffffffffff
failure in unixInit.test
User & Date: hobbs on 2001-11-20 01:58:05
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    
    The tests will need some updating, and perhaps the 
    algorithm used.  If you run the failing test by hand, I see 
    on Solaris "couldn't set locale correctly" returned.  This 
    is a message from setlocale(3C), not Tcl itself.  This is 
    basically saying that japanese is not a valid locale on 
    that machine.  This can be confirmed by looking 
    at /usr/lib/locale/ and seeing that 'ja' or any japanese 
    derivative is not available on my Solaris system.
    
    The question is, is it correct for Tcl to force an encoding 
    set, when the underlying system itself can't support it?  I 
    believe this is one of the reasons why all the i18n/l10n 
    people were telling us to make use of nl_langinfo correctly 
    (see Tcl bug 418645).
    
    This also means that the above test should work on Solaris 
    with the Japanese extensions.
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"