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
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
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