ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: encoding attribute in the sql task
Date Thu, 11 Dec 2003 12:50:46 GMT
On Thu, 11 Dec 2003, Nagarajan Murugesan <NMURUGESAN@selectica.com>
wrote:

> can anyone explain that?

well, not better than the manual already does, I'm afraid.

Files on your disk store characters using a "character encoding",
which encoding you use depends on your OS and maybe some other
circomstances (like your loace settings).

If you open a file in Java, Java assumes it will use your platform's
default encoding - unless you tell it that you use a different
encoding.  This is what the attribute of the task (and a lot of other
file reading tasks) gets used for.

Possible values are the supported encodings of your Java VM, please
consult your Java documentation.  For example, see
<http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html>

Stefan

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


Mime
View raw message