JDK-8072773 should support more Charsets

Alan Bateman Alan.Bateman at oracle.com
Tue Jul 14 11:04:14 UTC 2015



On 08/07/2015 09:08, Philippe Marschall wrote:
> Hi
>
> I was following the discussion of JDK-8072773 and having a look at the
> implementation. I was a bit surprised that ISO-8859-15 is not
> supported. It's the default on Windows in Western Europe and the only
> differences to ISO-8859-1 are that eight additional characters in a
> previously unassigned area.
A small comment on this is that Files.lines doesn't have an overload 
that uses the default charset. So although ISO-8859-15 may be popular (I 
thought Windows used Cp1252 but you may be right) then it would need to 
be specified explicitly to the lines method.

-Alan.


More information about the nio-dev mailing list