You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
The text was updated successfully, but these errors were encountered:
LBoraz
changed the title
Converter.detectCharset throws for keys longer than 2048
Converter.detectCharset throws for inputs longer than 2048
Mar 31, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
protected String detectCharset(String key, ByteArrayOutputStream bos, BufferedInputStream in, String enc) throws IOException {
byte[] arr = new byte[2048];
how to reproduce:
do a fetchAndExtract of this url 'http://www.gazzetta.it/Sport-Invernali/Sci-Alpino/Coppa-Mondo-Sci/26-02-2017/sci-combinata-brignone-ho-sciato-senza-paura-uscire-180995893986.shtml'
The text was updated successfully, but these errors were encountered: