docs: public static Object[] getEncoding(JspInputSource inputSource)
          throws IOException, JspCoreException
      {
      	InputStream inStream = XMLEncodingDetector.getInputStream(inputSource);
      	//InputStream inStream = JspUtil.getInputStream(fname, jarFile, ctxt,
          //                                              err);
          XMLEncodingDetector detector = new XMLEncodingDetector();
          Object[] ret = detector.getEncoding(inStream);
          inStream.close();
  
          return ret;
      }