ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Agnew <br...@oopsconsultancy.com>
Subject Re: ANT: charsets in replace-task
Date Mon, 12 May 2008 18:49:23 GMT
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.com
OOPS Consultancy Ltd         brian @ oopsconsultancy.com
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message