Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-21 Thread Lokesh Jain
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. As such, I am on JAVA 1.6_30 and ANT 1.7.0, however the problem is coming with ANT 1.8.3 also. -Lokesh On 4/21/2012 1:47 PM, Jarek Czekals

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-21 Thread Jarek Czekalski
Lokesh, Maybe you don't comply with the rules java has for property files. These can be found in java language specifictaion, but also in Properties class javadoc: http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html QUOTE the input/output stream is encoded in ISO 8859-1 charact

Re: Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-21 Thread Lokesh Jain
Forgot to mention... If instead of using build.properties file, I directly add the property like -DAPPLICATION_GUID=HELLOÀÁÂ, it works even in the CentOS box. However, I would still like to be able to do this with the properties file for obvious reasons. -Lokesh On 4/21/2012 1:31 PM, Lokesh

Incorrect reading of property containing accented chars from build.properties by custom task

2012-04-21 Thread Lokesh Jain
Hi, I have a custom ant task which reads certain properties from build.properties and exports applications based on that. name="exportApplication" classpathref="proj.lib"/> applicationVersion="${APPLICATION_VERSION}" exportLocation="${APPLICATION_EXPORT_DIR}"/> Th