diff options
| author | reger <reger18@arcor.de> | 2015-03-15 06:02:45 +0100 |
|---|---|---|
| committer | reger <reger18@arcor.de> | 2015-03-15 06:02:45 +0100 |
| commit | 2ef8ffdb60bbf0ce64ee700c8baafdd8eebe274c (patch) | |
| tree | a4e44c66798e04582329646f9a6fa406b159fb2d /test/net | |
| parent | 7120ea42f1cd2afa70ff4292b5c6d6852750399f (diff) | |
apply UTF-8 encoding
copied from escape()
Diffstat (limited to 'test/net')
| -rw-r--r-- | test/net/yacy/cora/document/id/MultiProtocolURLTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/net/yacy/cora/document/id/MultiProtocolURLTest.java b/test/net/yacy/cora/document/id/MultiProtocolURLTest.java index e4ccb9abd..790aaf64d 100644 --- a/test/net/yacy/cora/document/id/MultiProtocolURLTest.java +++ b/test/net/yacy/cora/document/id/MultiProtocolURLTest.java @@ -151,10 +151,9 @@ public class MultiProtocolURLTest { String[][] testStrings = new String[][]{ // teststring , expectedresult new String[]{"http://www.heise.de/newsticker/thema/%23saukontrovers", "http://www.heise.de/newsticker/thema/%23saukontrovers"}, // http://mantis.tokeek.de/view.php?id=519 - new String[]{"http://www.heise.de/newsticker/thema/#saukontrovers", "http://www.heise.de/newsticker/thema/"}, + new String[]{"http://www.heise.de/newsticker/thema/#saukontrovers", "http://www.heise.de/newsticker/thema/"}, // anchor fragment new String[]{"http://www.liferay.com/community/wiki/-/wiki/Main/Wiki+Portlet", "http://www.liferay.com/community/wiki/-/wiki/Main/Wiki+Portlet"}, // http://mantis.tokeek.de/view.php?id=559 - new String[]{"http://de.wikipedia.org/wiki/Philippe_Ariès", "http://de.wikipedia.org/wiki/Philippe_Ari%E8s"} // utf-8 2 byte char - // new String[]{"http://de.wikipedia.org/wiki/Philippe_Ariès", "http://de.wikipedia.org/wiki/Philippe_Ari%C3%A8s"} // above formal correct for utf8 codepage + new String[]{"http://de.wikipedia.org/wiki/Philippe_Ariès", "http://de.wikipedia.org/wiki/Philippe_Ari%C3%A8s"} // UTF-8 2 byte char }; for (String[] testString : testStrings) { |
