code: public static String getJavaEncoding(String iana) {
          String IANA = iana.toUpperCase();
          String jdec = (String)map.get(IANA);
          if (jdec == null)
              jdec = iana;
          return jdec;
      }
docs: Gets the java encoding from the IANA encoding. If the encoding cannot be found
  it returns the input.
  @param iana the IANA encoding
  @return the java encoding