Page 1 of 1

Convert UTF-8 to ASCII

Posted: Thu Sep 27, 2007 12:11 am
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?

Posted: Fri Sep 28, 2007 6:54 am
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.

Posted: Mon Oct 01, 2007 6:53 pm
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?

Posted: Mon Oct 08, 2007 8:45 am
by DataMystic Support
Try converting to ANSI, not ASCII.