UTF8 files and Replace filters

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
kbrazil
Posts: 4
Joined: Thu Sep 30, 2004 12:22 am

UTF8 files and Replace filters

Post 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
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support »

Hi Keith,

Try using

\x{00AB}

instead.
Post Reply