Skip to content
Tcl Source Code History Of Ticket 744156ffffffffff
Login

History Of Ticket 744156ffffffffff

Artifacts Associated With Ticket 744156ffffffffff

  1. Ticket change [1b98097a2b] (rid 123178) by dzolli on 2003-05-27 09:50:05:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Writing or reading .msg files with a lot of backslashed unicode 
      sequences to represent accentuated characters is not easy. 
      But if we want to use a custom encoding, msgcat have to be 
      inform that this particular msg file doesn't use default UTF-8 
      encoding. So, we might add the following command in the msg 
      file:
      
      ::msgcat::msgEncoding iso8859-15
      
      Then, 
      msgcat would uses iso8858-15 encoding instead of UTF-8 for 
      the next [mcset] commands, until another [msgEncoding] 
      command was find or EOF was reached.
      
      In order to 
      preserve backward compatibility, msg files without 
      [msgEncoding] command would be considered using UTF-8 
      encoding.
      
      This command should only be used in msg 
      files too, to preserve default UTF-8 compatibility.
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dzolli"
    9. subsystem initialized to: "30. msgcat Package"
    10. title initialized to: "Custom encoding command for .msg files."
    11. type initialized to: "RFE"
  2. Ticket change [dc57e7ac23] (rid 114462) by dgp on 2003-06-02 23:19:25:

    1. closedate changed to: "2003-06-02T16:19:25"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      As specified, this request does not really
      make sense.  The msgcat package uses
      the utf-8 encoding when reading *.msg files.
      
      The utf-8 encoding is in effect for the entire
      file reading operation, as usual for managing
      encoding of channels.  There is no encoding
      control of individual commands one by one,
      nor do I think there should be.
      
      The *.msg files are expected to be in the
      utf-8 encoding precisely so you do not
      have to use \uHHHH escapes to represent
      non-7-bit-ASCII characters.  Just use an
      editor that can save your *.msg file in the
      utf-8 encoding instead of your system encoding.
      The utf-8 encoding can represent all Unicode
      characters that Tcl recognizes, so there's no
      need to have any \uHHHH escapes at all in
      a *.msg file.
      
      If you do not have an editor that can save
      in UTF-8, it should be a simple post-process
      to [fcopy] the file produced by your editor to
      a new file in utf-8 by [open]-ing both files
      and using [fconfigure] to set input encoding
      to the encoding produced by your editor,
      and output encoding to utf-8.
      
      Setting this report to Pending.  It will close
      itself unless someone follows up with a
      better explanation for why utf-8 encoded
      *.msg files are not adequate.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Rejected"
    7. status changed to: "Closed"
    8. username: "dgp"