nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-2254) Charset issues when using -addBinaryContent and -base64 options
Date Wed, 27 Apr 2016 21:58:13 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261024#comment-15261024
] 

Hudson commented on NUTCH-2254:
-------------------------------

SUCCESS: Integrated in Nutch-trunk #3362 (See [https://builds.apache.org/job/Nutch-trunk/3362/])
NUTCH-2254 Indexer: character set issue with -addBinaryContent and (snagel: rev 6d2bfa98635d8055d56dbe2597efc953f420ed5a)
* CHANGES.txt
* src/java/org/apache/nutch/indexer/NutchIndexAction.java
* src/test/org/apache/nutch/indexer/TestIndexerMapReduce.java
* src/java/org/apache/nutch/indexer/IndexerMapReduce.java


> Charset issues when using -addBinaryContent and -base64 options
> ---------------------------------------------------------------
>
>                 Key: NUTCH-2254
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2254
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.11
>            Reporter: Federico Bonelli
>            Assignee: Sebastian Nagel
>            Priority: Minor
>         Attachments: base64-nutch.patch
>
>
> The bug is reproducible with these steps:
> # find a site with cp1252 encoded pages like "http://www.ilsole24ore.com/" and characters
with accents (byte representation >127, like [àèéìòù])
> # start a crawl on that site indexing on Solr with options -addBinaryContent -base64
> # find a document inside the newly indexed Solr collection with those accented characters
> # get the base64 binary representation for said html page and decode it back to raw binary,
save it
> The file obtained will have invalid characters, which are neither UTF-8 nor cp1252.



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

Mime
View raw message