Artifacts Associated With Ticket 1823576fffffffffffffffffffffffffffffffff
Ticket change [5b46f0405c] (rid 118293) by stwo on 2007-10-31 16:42:53:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The values for the -xchar option are taken from the first byte of the passed utf8 strings and not encoding-converted. If the value of one of the chars is \x00 the encoding will be set to the first byte of Tcl's utf8 sequence for 0 (c0 80), 0xC0. This patch fixes the problem by adding the necessary conversions. Patch generated from Tcl8.5b2.
- 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: "stwo"
- subsystem initialized to: "27. Channel Types"
- title initialized to: "Fix [fconfigure -xchar "\x00 \x00"]"
- type initialized to: "Patch"
Ticket change [33cd47045d] (rid 106659) by stwo on 2007-10-31 23:42:54:
- icomment:
File Added - 252213: tclUnixChan.c.patch
- login: "stwo"
- mimetype: "text/plain"
- username: "stwo"
- icomment:
Ticket change [2b08e9d263] (rid 118671) by dkf on 2007-11-01 20:48:11:
- priority changed to: "9 Immediate"
Ticket change [e71bd6e765] (rid 104397) by stwo on 2007-11-02 00:38:41:
- icomment:
File Deleted - 252213:
- login: "stwo"
- mimetype: "text/plain"
- username: "stwo"
- icomment:
Ticket change [f3691aae37] (rid 129709) by stwo on 2007-11-02 00:39:55:
- icomment:
File Added - 252417: tclUnixChan.c.patch Logged In: YES user_id=143350 Originator: YES File Added: tclUnixChan.c.patch
- login: "stwo"
- mimetype: "text/plain"
- username: "stwo"
- icomment:
Ticket change [284bff6acf] (rid 88677) by stwo on 2007-11-02 13:30:08:
- icomment:
File Deleted - 252417:
- login: "stwo"
- mimetype: "text/plain"
- username: "stwo"
- icomment:
Add attachment "tclUnixChan.c.patch" [dccc3d480e] (rid 114549) by stwo on 2007-11-02 13:33:27.
Ticket change [51b49adc7a] (rid 126178) by stwo on 2007-11-02 13:33:27:
- icomment:
File Added - 252476: tclUnixChan.c.patch Logged In: YES user_id=143350 Originator: YES 3rd version of the patch. 1st version: ok. 2nd version: better casts. 3rd version: removed unneeded parentheses. File Added: tclUnixChan.c.patch
- login: "stwo"
- mimetype: "text/plain"
- username: "stwo"
- icomment:
Ticket change [39fda3755a] (rid 112484) by andreas_kupries on 2007-11-06 02:37:57:
- closedate changed to: "2007-11-05T19:37:57"
- closer changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=75003 Originator: NO stuart I am accepting this patch. It is now in the HEAD. However, do you have a small test which I can add to the testsuite to demonstrate before/after behaviour ?
- login: "andreas_kupries"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "andreas_kupries"
Ticket change [d7781c7410] (rid 123995) by stwo on 2007-11-06 03:08:28:
- icomment:
Logged In: YES user_id=143350 Originator: YES I'm not sure how to add this to the testsuite, but this demonstrates: Before: % fconfigure stdout -xchar "\x00 \x00" % scan [lindex [fconfigure stdout -xchar]] %c 192 After: % fconfigure stdout -xchar "\x00 \x00" % scan [lindex [fconfigure stdout -xchar]] %c 0
- login: "stwo"
- mimetype: "text/plain"
- username: "stwo"
- icomment: