<i18n dev> RFR: 8372353: API to compute the byte length of a String encoded in a given Charset [v17]
Eirik Bjørsnøs
eirbjo at openjdk.org
Mon Feb 9 21:31:37 UTC 2026
On Fri, 6 Feb 2026 17:05:40 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Maybe it should be looked at but in these discussions it would be CharsetEncoder, not Charset.
Thanks Alan, not exactly my turf :-)
It would be interesting to prototype if an implementation in `CharsetEncoder` could retain the desired performance characteristics. At the least, it would be good to see this alternative discussed in the CSR.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28454#issuecomment-3861656546
More information about the i18n-dev
mailing list