Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

http://www.yacy-forum.de/viewtopic.php?p=25611#25611

allo2fd610b556bc
diff --git a/source/de/anomic/plasma/plasmaParser.java b/source/de/anomic/plasma/plasmaParser.java
index d65573b3b..aaac05448 100644
--- a/source/de/anomic/plasma/plasmaParser.java
+++ b/source/de/anomic/plasma/plasmaParser.java
@@ -554,14 +554,14 @@ public final class plasmaParser {
htmlFilterContentScraper scraper = new htmlFilterContentScraper(location);
// set the charset if known
- if (charset != null) {
+ /*if (charset != null) {
try {
scraper.setCharset(charset);
} catch (UnsupportedCharsetException e) {
serverLog.logWarning("PARSER", "parseSource2: unknown or unsupported charset '" + charset + "'");
return null;
}
- }
+ }*/
OutputStream hfos = new htmlFilterOutputStream(null, scraper, null, false);
serverFileUtils.copy(sourceFile, hfos);