public static boolean isAsciiEncoding(final String encoding)
    {
        return "US_ASCII".equals(STD_CHARSETS.get(encoding));
    }
Checks if the given encoding represents an ASCII charset.

@param encoding as a string name (e.g. ASCII).
@return {@code true} if the encoding denotes an ASCII charset.
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaUtil.java