*) Bugfix for umlaut problem

See: http://www.yacy-forum.de/viewtopic.php?t=3932

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3674 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 18 years ago
parent dca85b82ff
commit 7d9259e44d

@ -51,6 +51,7 @@ import java.util.ArrayList;
import java.util.Iterator;
import de.anomic.data.robotsParser;
import de.anomic.data.wikiCode;
import de.anomic.http.httpHeader;
import de.anomic.http.httpc;
import de.anomic.net.URL;
@ -90,6 +91,8 @@ public class getpageinfo_p {
title = line.substring(line.toLowerCase().indexOf(
"<title>") + 7, line.toLowerCase().indexOf(
"</title>"));
// de-replace html entities
title = wikiCode.deReplaceHTML(title);
prop.put("title", title);
} catch (IndexOutOfBoundsException e) {
}

Loading…
Cancel
Save