Page 1 of 1

UTF8 files and Replace filters

Posted: Fri Sep 16, 2005 2:47 am
by kbrazil
I am trying to replace certain entities with their characters in UTF8 text e.g

& #171; -> «


When I use a simple replace filter on my files, the character TextPipe puts is the iso-8859-1 version - I know this becuse if I open the file as UTF8, the character inserted is an invisible control character, but if I change the viewer to look at the file as Western European, the correct character appears.

Is there something I need to do to tell TextPipe that the files it is replacing are UTF8. Or do I need to use Unicode escape sequences. In this case I tried \U+00AB but it didn't work.

Thanks,

Keith

Posted: Mon Dec 05, 2005 9:14 am
by DataMystic Support
Hi Keith,

Try using

\x{00AB}

instead.