Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › How to Find and Eliminate Word Special Characters?
Our end users have a nasty habit of typing documents in Microsoft word, then block & copy into a transcription system, and send to Cloverleaf via an HL7 interface.
Nothing for just “word” special characters but we have done something similar to what you have done.
regsub -all {[^x20-x7E]} $msg “”
Of course we just used TCL and put it as a PRE-Xlate proc to filter out any non-printable characters.
Rob
Hey Rob,
I like the way you handled it with a pre xlate proc. I think I will change mine around to do the same. Thanks for the reply.
Check out my post of tps_regsub_all.tcl at this URL
Russ Ross RussRoss318@gmail.com