Skip to content

Conversation

@TheRamenChef
Copy link

As an alternative to referring to the charset by name, which throws a checked exception, there is the StandardCharsets class which contains the actual Charset instance you're looking for.

Instead of using the name "UTF-8", there happens to be a class with various charsets, including but not limited to UTF-8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant