Hi Jim,
I tried your suggestion and It ‘s not working unfortunately … but I’ m agree with you about the receiving system.
I need to do that translate command because just before, I do that first command :
if {[regsub -all — {[x7f-x9fxa0-xff]} $msg {\\0x[format %2x\ [scan & %c]]} tmp]} {
puts “tmp = $tmp”
set msg [subst $tmp]
}
to catch all the special characters in hexadecimal code in my HL7 msg and change those because the receiving system as problems with that hexa char. But when I pass that first command, I lose all the ” and I could’nt find a method to bypass that problem…
The receiving system asked me to pass those hexa char as ‘