Overview
| Artifact ID: | dc57e7ac23a414becc27043bfcc772aa803152fc |
|---|---|
| Ticket: | 744156ffffffffffffffffffffffffffffffffff
Custom encoding command for .msg files. |
| User & Date: | dgp on 2003-06-02 23:19:25 |
Changes
- closedate changed to: "2003-06-02T16:19:25"
- closer changed to: "dgp"
- 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.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- status changed to: "Closed"
- username: "dgp"