Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Special Characters in TCL
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 “
set inp [lindex $xlateInVals 0] append inp “
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.