I think we should remove the deprecations and add more explicit Javadocs that 
spell out that there are oddities with the defaultCharset() depending upon the 
operating system. Note this problem has been in existence since Java 1.4, and 
we did nothing about it for a considerable amount of time. Plus in Java 18 
forward we simply don’t need it, as Gary said.

Cheers,
-Rob

> On Jan 24, 2024, at 1:45 PM, Gary D. Gregory <ggreg...@apache.org> wrote:
> 
> Hi All,
> 
> In the context of https://issues.apache.org/jira/browse/IO-842 and in light 
> of UTF-8 being the default Charset for Java 18 and up on all platforms -- 
> https://openjdk.org/jeps/400 --, we need to figure out whether to:
> 
> - Deprecate all non-Charset methods in favor of their Charset versions, or
> - Un-deprecate existing deprecated non-Charset methods.
> 
> See the ticket, please reply there or here as convenient.
> 
> Gary
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to