Apache Solr open-source search software
convert to utf-8
Daniel Naber22a19287ea75
diff --git a/sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java b/sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.javaindex 64b1c8a10c8..f3cbeaa546e 100644--- a/sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java+++ b/sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java@@ -258,37 +258,37 @@ public class DutchStemmer {}/**- * Substitute �, �, �, �, �, � , �, �, �, �+ * Substitute ä, ë, ï, ö, ü, á , é, í, ó, ú*/private void substitute(StringBuffer buffer) {for (int i = 0; i < buffer.length(); i++) {switch (buffer.charAt(i)) {- case '�':- case '�':+ case 'ä':+ case 'á':{buffer.setCharAt(i, 'a');break;}- case '�':- case '�':+ case 'ë':+ case 'é':{buffer.setCharAt(i, 'e');break;}- case '�':- case '�':+ case 'ü':+ case 'ú':{buffer.setCharAt(i, 'u');break;}- case '�':+ case 'ï':case 'i':{buffer.setCharAt(i, 'i');break;}- case '�':- case '�':+ case 'ö':+ case 'ó':{buffer.setCharAt(i, 'o');break;@@ -391,7 +391,7 @@ public class DutchStemmer {case 'i':case 'u':case 'y':- case '�':+ case 'è':{return true;}@@ -403,4 +403,4 @@ public class DutchStemmer {_stemDict = dict;}-}\ No newline at end of file+}