ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prashant Reddy <>
Subject Re: ANT: charsets in replace-task
Date Thu, 08 May 2008 13:53:52 GMT
May be you have tell Eclipse to use UTF-8 encoding when showing the file
in which ANT has replaced ?

On Thu, 2008-05-08 at 06:46 -0700, 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message