ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob J <...@dcsportbikes.net>
Subject Re: Question regarding UTF-8 and property files
Date Fri, 27 May 2011 18:33:28 GMT
> The ? implies to me that your shell might be trying to display the UTF-8 properly, but
can't, so it shows the question mark.
> 
> Instead of looking at the file with cat:
>  - Does the file have one byte for that mark, (that would be the question mark) or 3?
- You should be able to count how many bytes you expect to see.
>  - What do you see when you open the file in a GUI editor that supports UTF-8?
>  - How about looking at that file in a browser?

Good suggestions, but my terminal can definitely display UTF-8 properly:

hitman@bigdog ~/t/t/apache-ant-1.8.2$ bin/ant foo2
Buildfile: /Users/hitman/t/t/apache-ant-1.8.2/build.xml

foo2:
     [echo] [Test ?]

BUILD SUCCESSFUL
Total time: 0 seconds
hitman@bigdog ~/t/t/apache-ant-1.8.2$ cat foo.properties 
foo.propert=Test ế

I had mentioned in a previous message, it looks like it works fine under linux,
but not under OSX given identical build.xml and foo.properties files.

thanks,
rob

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


Mime
View raw message