ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob J <>
Subject Re: Question regarding UTF-8 and property files
Date Fri, 27 May 2011 18:24:38 GMT
On Fri, 27 May 2011, Scot P. Floess wrote:

> Works for me:
> <?xml version="1.0" encoding="utf-8"?>
> <project name="test" default="foo">
>     <target name="foo">
>         <loadproperties srcFile="" encoding="iso-8859-1"/>
>         <echo message="[${}]"/>
>         <echo file="test.txt" message="${}"/>
>     </target>
> </project>

Hmm.  Yup.  I actually just went to a linux system and ran the exact same
example using the exact same ant version and it works fine over there.  The
linux box is using the Sun java6 JRE.

The system that is failing is a OSX box with ant installed.

It is obviously some issue with Apple's installed java interpreter.

Can you think of anything that might be an issue here?  Perhaps some java
setting that is different between the OSX box and the Debian linux box?


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

View raw message