Optimistically these two possible defaults will be the same thing.
Optimistically these two possible defaults will be the same thing. In practice this is not necessarily true, and in fact Sun classifies the fact that you can influence anything at all via -Dfile.encoding as an accident, with any anomalies considered "not a bug".
The Codec of Last Resort.
The Codec of Last Resort.
(Changed in version 2.9.0) This method was previously misnamed toUTF8
. Converts from Array[Byte] to Array[Char].
(Changed in version 2.9.0) This method was previously misnamed fromUTF8
. Converts from character sequence to Array[Byte].