Overview
| Artifact ID: | 5ddc1bb7b799f5932471ed61104e95469e220e9c |
|---|---|
| Ticket: | 579617ffffffffffffffffffffffffffffffffff
encodings can't be found |
| User & Date: | dgp on 2006-03-03 23:38:57 |
Changes
- icomment:
Logged In: YES user_id=80530 Not exactly what I imagined, but perhaps it will work. I expected to see a C level call to Tcl_GetEncodingNameFromEnvironment() so Tcl can tell you what it thinks [encoding system] ought to be. Then you can check Tcl_GetEncoding(NULL) and find out if [encoding system] has in fact been set to that desired value. The script level check {[encoding system] eq "identity"} isn't precisely the same test, but might well have equivalent results. The open Q which is really for Tclkit instead of Tcl is how you want to react when the correct [encoding system] has not been set. It looks like you plan to just leave the "identity" value in place for the code in a starkit to detect and possibly replace after mounting more virtual filesystems? How is that starkit code supposed to know what the correct [encoding system] value ought to be? Do we need to expose Tcl_GetEncodingNameFromEnvironment() to the script level to complete the script-level toolkit required to deal with these matters? Or is there some way Tclkit can take care of this and relieve each starkit author of that burden? - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"