public static @Nullable String extractXmlEncodingFromProlog(@NotNull CharSequence text) {
    return XmlCharsetDetector.extractXmlEncodingFromProlog(text);
  }
public static @Nullable String extractXmlEncodingFromProlog(@NotNull CharSequence text)