Re: about BOMs

2009-06-19 Thread Michael Ludwig
Peter Reilly schrieb am 19.06.2009 um 08:05:50 (+0100): > Please be aware that this is a long standing problem. > Sun does not allow the BOM and it's UTF-8 reader > converts it into a ?. Thanks for bringing this Sun Java bug to my attention. I wasn't aware of this handicap. > This is what the an

Re: Sorting file name

2009-06-19 Thread David Weintraub
Well, it is sorting the files by name. Unfortunately, it is sorting them in ASCII dictionary order. The easiest way (and maybe the only way) is to zero fill in the names of these files when you create them, so that you have 001.sql and 010.sql instead of 1.sql and 10.sql. That way, they'll sort i

Sorting file name

2009-06-19 Thread Henry Suhatman
Hi all, I have use foreach task from ant-contrib, the output like this 1.sql 10.sql 11.sql 2.sql And, i want to sort file name like this: 1.sql 2.sql 10.sql 11.sql This is my code : -

Re: about BOMs

2009-06-19 Thread Peter Reilly
Please be aware that this is a long standing problem. Byte ordering is needed for utf-16 and 32, and there is a byteordering code for that at the start of the file. For utf-8 byte ordering is not required, however the utf-8 standard is a little vague as to whether it is not allowed. this means