Artifacts Associated With Ticket 3483424
Ticket change [9c252bc2d0] (rid 111233) by liyajoseph on 2012-02-03 02:46:15:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Hi, I am using TCL version 8.4.19 on a 64 bit Windows machine. In my C++ code I am calling Tcl_EvalEx () and passing a string argument like "hi\nbye\nbye_again". But after evaluation the string is printed as "hi(some special character)bye(some specialcharacter)bye_again". Even I tried with "hi\\nbye\\nbye_again, then output is "hi\nbye\nbye_again" with "hi\\r\\nbye\\r\\nbye_again" , then the output is "hi\r\nbye\r\nbye_again". The expected output is : hi bye bye_again Could you please help? - 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: "liyajoseph"
- subsystem initialized to: "None"
- title initialized to: "Tcl_EvalEx function not detecting "\n" in Windows."
- type initialized to: "Bug"
Ticket change [6fac57c8ef] (rid 100352) by sebres on 2012-02-03 16:32:02:
- icomment:
On windows should you intrinsically use a pair "\r\n" (CRNL) instead of "\n" (NL, unix) for really new line... What do you mean by output? stdout? if yes - you can configure you stdout channel to translation auto - it will accept both. ## get a current translation : fconfigure stdout -translation ## set a translation to auto : fconfigure stdout -translation auto
- login: "sebres"
- mimetype: "text/plain"
- username: "sebres"
- icomment:
Ticket change [ff4a17a3e5] (rid 108731) by dgp on 2012-02-06 22:14:30:
- icomment:
The report needs to be much clearer. Precisely what are you passing to Tcl_EvalEx()? What is the result? How is that different from what you expect?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [1cee0f80b2] (rid 90700) by dgp on 2012-02-07 00:45:41:
- assignee changed to: "dgp"
- closedate changed to: "2012-02-06T17:45:41"
- closer changed to: "dgp"
- foundin changed to: "obsolete: 8.4.19"
- icomment:
Without more information, this ticket will auto-close, assuming the issue is just confusion about the -translation setting of a Tcl channel.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Pending"
- username: "dgp"
Ticket change [7390eab87f] (rid 105064) by dgp on 2012-06-05 21:00:13:
- closedate changed to: "2012-06-05T14:00:13"
- closer changed to: "dgp"
- icomment:
allow_comments - 1
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"