Artifacts Associated With Ticket 2006809
Ticket change [ddb5175d6e] (rid 114720) by dgp on 2008-06-30 13:59:09:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I suspect we can use the binary encoding instead now, and take a big step toward getting rid of identity altogether.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "10. Objects"
- title initialized to: "stop use of identity encoding during startup"
- type initialized to: "RFE"
Ticket change [cc3bff5841] (rid 95656) by dkf on 2008-06-30 21:06:12:
- icomment:
Logged In: YES user_id=79902 Originator: NO We've got a guarantee that iso8859-1 is baked in.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [e7e3251086] (rid 104550) by dgp on 2008-06-30 21:28:35:
- icomment:
Logged In: YES user_id=80530 Originator: YES Right. That's what makes this pursuit feasible.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [b2c4c2c5b2] (rid 98400) by dgp on 2008-10-24 03:35:58:
- icomment:
File Added - 298639: 2006809.patch Here's a dead simple patch that does this. Changes the default and original system encoding to iso8859-1, that is, binary, instead of the broken-as-designed "identity". File Added: 2006809.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "2006809.patch" [23cf31081b] (rid 130997) by dgp on 2008-10-24 03:35:58.
Ticket change [275c6e6dd9] (rid 88504) by jenglish on 2008-10-24 06:50:31:
- icomment:
Don't quite yet grok what the patch is doing or how it's doing it, but the intent is eminently reasonable. "binary" as the system default encoding is a much better choice than "identity" (which, as noted, is broken-as-designed).
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"
- icomment:
Ticket change [2b5a2264fb] (rid 118730) by dkf on 2008-10-24 12:32:02:
- icomment:
"iso8859-1" is the encoding name (and consists of an encoding that is special in that it will not choke or shuffle around any input data). "binary" is not actually an encoding, but rather magic that switches the I/O system to work with bytearrays instead of strings. :-) Patch is correct (I've stared at that code recently enough to work it out). Patch would be more correct if it didn't leave things commented out. That's what we have 'cvs diff' for. ;-)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [83cef809e8] (rid 117440) by dgp on 2008-10-24 21:52:45:
- icomment:
This change might have an impact on Tclkit's startup sequence, since I think it uses [encoding system] eq "identity" as a test for "I'm stuck with Tcl's original encoding guess". Anyone available to try Tclkit with this patch in place?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [416b0de114] (rid 116190) by patthoyts on 2008-10-25 00:48:15:
- icomment:
This doesn't appear to introduce any problems for tclkit. We recently changed kitInit to make use of Tcl_GetEncodingNameFromEnvironment to set the encoding and extended the core set of encodings included to match those found in basekits which cover most non-asian systems. So only on a system where the environment encoding isnt available in the vfs will the system encoding be set to the default introduced by this patch - which seems to be iso8859-1.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment:
Ticket change [367a59a158] (rid 107109) by dgp on 2008-10-28 02:09:23:
- closedate changed to: "2008-10-27T19:09:23"
- closer changed to: "dgp"
- resolution changed to: "Accepted"
- status changed to: "Closed"