From: SourceForge.net <no...@so...> - 2009-03-16 20:25:45
|
Bugs item #2688825, was opened at 2009-03-16 17:51 Message generated for change (Comment added) made by ferrieux You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2688825&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 07. Variables Group: obsolete: 8.4.4 Status: Closed Resolution: Out of Date Priority: 5 Private: No Submitted By: Adnan Younas (younasa) Assigned to: miguel sofer (msofer) Summary: append command sending 0xc080 instead of 0x00 Initial Comment: in tcl version 8.4.4 the following append command appends 0xc080 instead of appending 0x00 set req_str {<connect load_balancer="Y" />} append req_str "\0" when trying to send it to tcp socket socket $ip $port fconfigure $sock -buffering line -eofchar > puts $sock $req_str; flush $sock Tcl 8.4.4 sending 0xc080 instead of sending 0x00 0x0040: 77ee 3c63 6f6e 6e65 6374 206c 6f61 645f w.<connect.load_ 0x0050: 6261 6c61 6e63 6572 3d22 5922 202f 3ec0 balancer="Y"./>. 0x0060: 800d 0a but working fine with tcl-8.4.7-4 0x0040: 65c4 3c63 6f6e 6e65 6374 206c 6f61 645f e.<connect.load_ 0x0050: 6261 6c61 6e63 6572 3d22 5922 202f 3e00 balancer="Y"./>. 0x0060: 0d0a ---------------------------------------------------------------------- >Comment By: Alexandre Ferrieux (ferrieux) Date: 2009-03-16 21:25 Message: Agreed :) For my culture: is it just a change in the default encoding for sockets, from utf8 to [encoding system], or something deeper ? ---------------------------------------------------------------------- Comment By: miguel sofer (msofer) Date: 2009-03-16 18:01 Message: So it is a fixed bug: it fails in 8.4.4, works in 8.4.7, current is 8.4.19. I fail to understand the poster's expectation, as he detected that the bug is already solved all by himself. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2688825&group_id=10894 |