code: public static String getCharset(final int id) {
          Entry entry = getEntry(id);
  
          if (entry != null) {
              return entry.mysqlCharset;
          } else {
              logger.warn("Unexpect mysql charset: " + id);
              return null;
          }
      }
docs: Return defined charset name for mysql.