in reply to utf file to ansi, but doesn't work?

I'm trying to convert it automatically to ANSI

Then why are you converting to iso-8859-15? There is no ANSI code page equivalent to iso-8859-15. The closest is cp1252, a superset of iso-8859-15.

The real problem, though, is how you handle the characters not present in the new encoding. You should convert them into XML entities.

(This is not the problem you are asking about.)

  • Comment on Re: utf file to ansi, but doesn't work?