Re: standard encoding of files

2010-02-09 Thread Christian Geisert
Adam Heath schrieb: [..] I'm suggest that I'll modify UtilIO.readString, to force the encoding to always be UTF-8, which is the only sensible thing to do. This would mean all files would now have a sane encoding(at least, *.groovy to start with). Or just use ASCII and unicode escaping if

Re: standard encoding of files

2010-02-09 Thread Adam Heath
Christian Geisert wrote: Adam Heath schrieb: [..] I'm suggest that I'll modify UtilIO.readString, to force the encoding to always be UTF-8, which is the only sensible thing to do. This would mean all files would now have a sane encoding(at least, *.groovy to start with). Or just use

standard encoding of files

2010-02-08 Thread Adam Heath
Back in December, I fixed groovy class parsing/caching. To do that, I introduced UtilIO.readString, to read an entire file into a stream. However, the implementation wasn't the best. It uses the single-arg InputStreamReader. What that means is that it uses the default platform charset for