XMLTask will handle char replacements and character sets in XML.
Brian
Hilden wrote:
> Hello everybody,
>
> I have a problem with charsets, by using the "replace-task" of Ant in the
> Eclipse IDE.
> After ant relaces a token (the value of the token comes from a
> ".properties-file") in an xml-file, where the charset "UTF-8" is used (<?xml
> version="1.0" encoding="UTF-8"?>), some special characters (such as:
> ZàèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇåÅðÐøØ) are not
> represented correctly and Eclipse is not able to show the content of this
> file after the replacement.
> I have already changed the charset of all concerning files to "UTF-8", but
> it still doesn't work.
>
> Is there a solution for this problem? maybe a way to tell the replace-task
> of ant to use the UTF-8 charset.
>
> Thank you,
>
> Best Regards,
>
> Arash
>
>
>
--
Brian Agnew
http://www.oopsconsultancy.comOOPS Consultancy Ltd brian @ oopsconsultancy.com
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@...
For additional commands, e-mail:
user-help@...