<i18n dev> RFR: 8372353: API to compute the byte length of a String encoded in a given Charset [v17]

Alan Bateman alanb at openjdk.org
Mon Feb 9 21:31:28 UTC 2026


On Fri, 6 Feb 2026 17:01:41 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:

> then perhaps the discoverabilty is not such a big issue and it's better to "hide away" this in Charset, which is where encoding operations generally live.

Maybe it should be looked at but in these discussions it would be CharsetEncoder, not Charset.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28454#issuecomment-3861593365


More information about the i18n-dev mailing list