Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b4ec1f7c809d696f2e88186634ec12caa79b82ef
Ticket: 525525ffffffffffffffffffffffffffffffffff
wrong file list in msgcat::mclocale
User & Date: haible on 2002-04-20 06:19:11
Changes

  1. icomment:
    Logged In: YES 
    user_id=5923
    
    If you do this: "A [split] on "." and passing only the first
    element of the resulting list"
    the locales including a modifier and a codeset will not be
    treated correctly. IMO the right transformation would be
    (assuming that the codeset of the locale doesn't matter
    because all catalogs are in UTF-8 anyway):
    
    Convert
          language_territory.codeset@modifier
    to
          language_territory_modifier
    
    I.e. the algorithm is:
      - Search the first dot or @ sign. Take the substring
    preceding
         this character.
      - If it was a dot, search the next @ sign.
      - If an @ sign was found, append to the result an
    underscore
         and all that follows the @ sign.
    
    
    
  2. login: "haible"
  3. mimetype: "text/plain"
  4. username: "haible"