[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: file.encoding property
From: |
David Holmes |
Subject: |
RE: file.encoding property |
Date: |
Tue, 23 Sep 2003 15:46:45 +1000 |
Brian Jones wrote:
> A grep through the source confirms many complaints about Sun not
> documenting this or providing a standard means of getting at the
> available encodings. ;) I think a JVM is supposed to
> provide this if they want.
I looked at the hacking guide and various other bits but didn't quite
see how a VM is expected to set this file.encoding value. I guess if
you never set it and your platform encoding is UTF-8 then things will
just magically work.
> More confusingly we provide
> DecoderUTF8 and EncoderUTF8 which implies the EncodingManager would
> load on "UTF8" rather than "UTF-8".
There's an alias to deal with this situation.
Thank.
David Holmes