Sebastian Nagel created NUTCH-2042:
--------------------------------------

             Summary: parse-html increase chunk size used to detect charset
                 Key: NUTCH-2042
                 URL: https://issues.apache.org/jira/browse/NUTCH-2042
             Project: Nutch
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.10, 2.3
            Reporter: Sebastian Nagel
            Priority: Minor
             Fix For: 2.4, 1.11


The chunk used to detect the encoding of a document is set to 2000 bytes. 
Although it is definitely best practice to "define" the character set on top, 
2000 bytes are sometimes not enough: 20 longer <link> elements pointing to 
javascript and css libs may "hide" the <meta> element containing content type 
and encoding. Same problem has been observed in TIKA-357 and solved by 
increasing the buffer size to 8 kB.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to