Overview
| Artifact ID: | c4d065d6863efd4ccf63753fe4f2ff00f1525ac5 |
|---|---|
| Ticket: | 418645ffffffffffffffffffffffffffffffffff
Initial encoding selected incorrectly |
| User & Date: | mkuhn on 2001-06-25 18:43:58 |
Changes
- icomment:
Logged In: YES user_id=53799 Using nl_langinfo(CODESET) directly has some portability problems, because the returned character set names are not well standardized and some systems (FreeBSD in particular) still do not implement it. Fortunately, Bruno Haible has developed with "libcharset" a highly portable wrapper around nl_langinfo(CODESET) that can easily be integrated, which I think is really what unix/tclUnixInit.c:TclpSetInitialEncodings should be using. Several GNU packages determine the encoding this way already. Have a look at: http://clisp.cons.org/~haible/packages-libcharset.html
- login: "mkuhn"
- mimetype: "text/plain"
- username: "mkuhn"