Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
hitman/t/t/apache-ant-1.8.2/build.xml foo2: [echo] [Test ế] BUILD SUCCESSFUL Total time: 0 seconds thanks for all the help, all! thanks, rob On Fri, 27 May 2011, Rob J wrote: > On Fri, 27 May 2011, Scot P. Floess wrote: >

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
> 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 ho

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
On Fri, 27 May 2011, Scot P. Floess wrote: > Works for me: > > > > > > > > > > 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

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
On Fri, 27 May 2011, Alexandre Priou wrote: > no test it's the game Sorry, not following you there...? What do you mean? thanks, rob - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: us

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
On Fri, 27 May 2011, Scot P. Floess wrote: > Try ISO-8859-1 as your encoding... Someone I work with was > attempting to use property files with a similar issue (but directly > within Java). He used the ISO-8859-1 encoding and it fixed his > problem... No dice. I tried changing both the encodin

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
n.wikipedia.org/wiki/UTF-8#Byte_order_mark > > Rob > > > > -Original Message- > > From: Rob J [mailto:r...@dcsportbikes.net] > > Sent: Friday, May 27, 2011 12:03 PM > > To: user@ant.apache.org > > Subject: Question regarding UTF-8 and property file

Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
So I'm having an issue with UTF-8 and property files. Given the test build.xml file: and the file foo.properties: #foo.propert=Test ế foo.property=Test \u1EBF When I run ant (1.8.2) for this target and look in test.txt, I see: Test ? every time. It is not interpreting t