public static boolean isUtf8Encoding(final String encoding)
    {
        return "UTF_8".equals(STD_CHARSETS.get(encoding));
    }
Checks if the given encoding represents a UTF-8 charset.

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