On 2012-04-21, Lokesh Jain wrote:

> Thank you for your suggestion, but I think the sample chars I used -
> "ÀÁÂ", can be directly represented in ISO 8859-1, so it should not be
> this problem.

The question is not whether the characters can be represented in
ISO-8859-1 but rather whether they are.

If you write the properties file directly (not using the Properties#save
or store methods) and don't specify the encoding for the file you write
it will end up being written with the platform's native encoding.  For
Windows this may happen to be ISO-8859-1 or a close relative while it
most likely is UTF-8 on your Linux machine.

If the file is not encoded in ISO-8859-1 it is a bug in the task that is
writing the file.

Stefan

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

Reply via email to