Convert UTF-8 to ASCII

Get help with installation and running here.

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

Post Reply
mats.brinkman@ordina.nl
Posts: 3
Joined: Thu Sep 27, 2007 12:04 am

Convert UTF-8 to ASCII

Post by mats.brinkman@ordina.nl »

Hi helpdesk,

I've got problems using the filter 'Convert from UTF-8 to ASCII' filter. While using the Trial area my input is 'Hi, my name is Mats Sörensen'. As output I get 'Hi, my name is Mats Srensen', so the ö is removed instead of being replaced with an o.

Can you help me?
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 Mats,

The Trial Run area can only display ANSI or UTF016LE Unicode (not UTF-8), so when you paste your text it is converted behind the scenes to ANSI before processing, which throws away the 'ö'. If you work with a UTF-8 file instead then you will find it works just fine.
mats.brinkman@ordina.nl
Posts: 3
Joined: Thu Sep 27, 2007 12:04 am

Post by mats.brinkman@ordina.nl »

Thank you for your reply. I created a UTF-8 encoded file as you advised and then ran the filter with F9. The ASCII output is better now. It replaces the ö and ä with a space.
But what I want the filter to do is replace the characters with o, a etc., is that possible as well?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support »

Try converting to ANSI, not ASCII.
Post Reply