That's less of a thing nowadays if you use the newer APIs that accept Charset instances instead of the charset name as a String.