Skip to content
Tcl Source Code History Of Ticket 3483424
Login

History Of Ticket 3483424

Artifacts Associated With Ticket 3483424

  1. Ticket change [9c252bc2d0] (rid 111233) by liyajoseph on 2012-02-03 02:46:15:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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?
      
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "liyajoseph"
    10. subsystem initialized to: "None"
    11. title initialized to: "Tcl_EvalEx function not detecting "\n" in Windows."
    12. type initialized to: "Bug"
  2. Ticket change [6fac57c8ef] (rid 100352) by sebres on 2012-02-03 16:32:02:

    1. 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
      
      
      
    2. login: "sebres"
    3. mimetype: "text/plain"
    4. username: "sebres"
  3. Ticket change [ff4a17a3e5] (rid 108731) by dgp on 2012-02-06 22:14:30:

    1. 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?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [1cee0f80b2] (rid 90700) by dgp on 2012-02-07 00:45:41:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2012-02-06T17:45:41"
    3. closer changed to: "dgp"
    4. foundin changed to: "obsolete: 8.4.19"
    5. icomment:
      
      Without more information, this ticket
      will auto-close, assuming the issue is
      just confusion about the -translation setting
      of a Tcl channel.
      
      
    6. login: "dgp"
    7. mimetype: "text/plain"
    8. resolution changed to: "Invalid"
    9. status changed to: "Pending"
    10. username: "dgp"
  5. Ticket change [7390eab87f] (rid 105064) by dgp on 2012-06-05 21:00:13:

    1. closedate changed to: "2012-06-05T14:00:13"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dgp"