Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9c252bc2d04bb2c0944a0ef25b42720d647cbc6a
Ticket: 3483424fffffffffffffffffffffffffffffffff
Tcl_EvalEx function not detecting "\n" in Windows.
User & Date: liyajoseph on 2012-02-03 02:46:15
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "liyajoseph"
  10. subsystem changed to: "None"
  11. title changed to: "Tcl_EvalEx function not detecting "\n" in Windows."
  12. type changed to: "Bug"