code: public static String convertMime2JavaEncoding(String encoding)
      {
  
          for (int i = 0; i < _encodings.length; ++i)
          {
              if (_encodings[i].name.equalsIgnoreCase(encoding))
              {
                  return _encodings[i].javaName;
              }
          }
  
          return encoding;
      }
docs: Try the best we can to convert a Java encoding to a XML-style encoding.
  <p>
  This is not a public API.
  
  @param encoding non-null reference to encoding string, java style.
  
  @return ISO-style encoding string.
  <p>
  This method is not a public API.
  @xsl.usage internal