Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2354e3d3acc44acdb6c12848c62a9c67ed066f73
Ticket: 3536888fffffffffffffffffffffffffffffffff
Locale guessing of msgcat fails on (some) Windows 7
User & Date: oehhar on 2012-06-29 19:01:51
Changes

  1. icomment:
    Thank you for the discussion.
    
    My point is not speed but clearty.
    I don't like to do a "package require" in cases where I know it will fail and thus I will pollute the ::errorInfo without real error.
    
    I don't like [info sharedlibextension] to much, as we use a side effect to detect the windows platform.
    Is there no other way, to detect the windows platform ?
    If not, I would love to have this in the platform package.
    Thats why I asked Jan to add a comment and thats what he did.
    
    Wiki page
    http://wiki.tcl.tk/1649
    still states, that cygwin tcl returns platform "windows", but this was changed as far as I know.
    Could someone add/correct this page in respect to Cygwin ?
    
    Further development of msgcat: I neither like, that the locale search in Init throws an error to report a non-matching locale. This may pollute ::errorInfo too.
    IMHO this is ok for user code. Packages should not do that.
    
    Just 2 cents,
    Harald
    
    
  2. login: "oehhar"
  3. mimetype: "text/plain"
  4. username: "oehhar"