ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Characters
Date Sat, 08 Mar 2003 00:08:41 GMT
Armenio,
- international characters inside a build file
    add a line like this one at the top of your build file :
   <?xml version="1.0" encoding="utf-8"?>
   assuming your encoding for the build file is actually utf-8
- list of valid encodings
    have a look at this link to find a list of valid encodings :
    http://java.sun.com/j2se/1.4/docs/guide/intl/encoding.doc.html
- editors for international characters
       you can download jedit (a Java Editor) from SourceForge as a way of
editing files and controlling strictly which encoding is used.
       Or you can do some trial and error to find which is the official name
of the encoding containing portuguese characters.
- international characters in property files
       AFAIK there is no support for international characters in property
files in ant; you need to use \u followed by the hexa string representing
your character in the unicode alphabet example \u05A1
Antoine
----- Original Message -----
From: "Armenio Pinto" <armenio-p-pinto@ptinovacao.pt>
To: "'Ant Users List'" <user@ant.apache.org>
Sent: Friday, March 07, 2003 7:25 PM
Subject: Characters


Hi there! Ant complains everytime I use characters like "à", "é", "ã", or
"ê". The problem is that they're very usual in Portuguese... How can I solve
this? Thanks in advance,

Arménio Pinto

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



Mime
View raw message