Special Characters in TCL

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Special Characters in TCL

  • Creator
    Topic
  • #54297
    Scott Caldwell
    Participant

    I have a PreProc that does a simple string manipulation to add a couple characters to the beginning and end of a string:
    set inp [lindex $xlateInVals 0]
    append inp “
    [code]set inp [lindex $xlateInVals 0]
    append inp “

Viewing 0 reply threads
  • Author
    Replies
    • #80917
      Elisha Gould
      Participant

      The issue is with encoding.

      In Cloverleaf 5.7 and later the default encoding in tcl was changed to utf-8 (from iso8859-1).

      So when performing mapping, you’ll need to use the utf-8 equivalent character.

      Cloverleaf will transform back to the encoding specified in the thread when sending the message onward.

Viewing 0 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,293
Replies
34,435
Topic Tags
286
Empty Topic Tags
10