Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5466082e4e8cec948465a5f61045fc51b29134ac
Ticket: 3536888fffffffffffffffffffffffffffffffff
Locale guessing of msgcat fails on (some) Windows 7
User & Date: oehhar on 2012-06-29 15:43:45
Changes

  1. icomment:
    Or we could use
        package present registry
    instead 
        [info sharedlibextension] ne ".dll"
    
    This would clearly indicate what is required, the registry package.
    
    ----
    Additional future thoughts:
    - We could replace the fix translation table CLID->locale by registry access, as this table is contained in the registry:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Rfc1766]
    
    I have to check, if this table is available on Win XP, it is ok since Vista.
    
    I would only do this on tcl 8.6, as it might include some incompatibilities.
    So thats another story...
    
    - Also I would prefer the registry methods over the environ variable method on windows, as:
    - LANG is sometimes set, for example by an installed CYGWIN
    - LANG is normally less detailed - the country is missing while the registry method extracts the country.
    
    
    
  2. login: "oehhar"
  3. mimetype: "text/plain"
  4. username: "oehhar"