ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: ANT: charsets in replace-task
Date Thu, 08 May 2008 14:34:01 GMT
<replace encoding="utf-8" ....

Peter


On Thu, May 8, 2008 at 7:05 AM, Akhoundi, Arash <A.Akhoundi@iks-gmbh.com> wrote:
> Hi,
>
> I did this. But the main problem is not showing the file, because when I open the file
through the explorer the content is shown.
>
> The main problem ist, that the special characters are replaced by some other charcters.
>
>
> For example:
>
> Original characters: ZàèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇåÅðÐøØ\
>
> After the replacement: èìòùÀÈÌÃ'ÙáÃ(c)íóúýÃ?ÉÃ?Ã"ÚÃ?âêÃ(R)ôûÂÊÎÃ"ÛãñõÃÃ'ÕäëïöüÿÄËÃ?ÖÜŸçÇåÅðÃ?øØ
>
>
> Arash Akhoundi
>
> iks Gesellschaft für
> Informations- und
> Kommunikationssysteme mbH
> Siemensstraße 27
> 40721 Hilden
> Telefon 02103/5872-21
> Telefax 02103/5872-58
> E-Mail mailto:a.akhoundi@iks-gmbh.com
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Prashant Reddy [mailto:prashant@pramati.com]
> Gesendet: Donnerstag, 8. Mai 2008 15:54
> An: Ant Users List
> Betreff: Re: ANT: charsets in replace-task
>
> 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: user-unsubscribe@ant.apache.org For additional commands, e-mail:
user-help@ant.apache.org
>
>
>
>
> ________________________________________________________________________
>
> iks Gesellschaft für Informations- und Kommunikationssysteme mbH
> Siemensstrasse 27, 40721 Hilden, Amtsgericht Düsseldorf, HRB 45519
> Geschäftsführerin: Dipl.-Inf. Monika Stoll
> Prokuristen: Dipl.-Ing. (FH) Thomas Kondring & Hartwig Tödter
> ________________________________________________________________________
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message