ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: UTF-8 text in a propertyfile?
Date Thu, 29 Dec 2005 16:19:35 GMT
On Wed, 28 Dec 2005, Steven Anderson <> wrote:

> If I specify the property on the command-line (in Windows XP), or
> via a UTF-8 encoded property file, the characters are not longer
> UTF-8 (I think they have been turned into ASCII characters).

Probably because the Java VM assumes your native encoding for files
which may not be UTF-8.  I'd opt for Unicode escapes in the properties
file in your case, these \ux1234 sequences - they work independent of
the encoding assumed by your VM.


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

View raw message