Hacker News new | past | comments | ask | show | jobs | submit login

That's a common misconception.

Look at the documentation [0] or at the OpenJDK code. Both assume ISO-8859-1, unless you're dealing with a special case where resource bundles are involved.

[0]: https://docs.oracle.com/en/java/javase/21/docs/api/java.base...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: