Changed to UTF-8 encoding

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2039 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2011-04-06 21:09:21 +00:00
parent 610de0d33a
commit cecfa244e0

View File

@ -496,34 +496,34 @@ public class Metaphone3 {
|| (inChar == 'O')
|| (inChar == 'U')
|| (inChar == 'Y')
|| (inChar == 'À')
|| (inChar == 'Á')
|| (inChar == 'Â')
|| (inChar == 'Ã')
|| (inChar == 'Ä')
|| (inChar == 'Å')
|| (inChar == 'Æ')
|| (inChar == 'È')
|| (inChar == 'É')
|| (inChar == 'Ê')
|| (inChar == 'Ë')
|| (inChar == 'Ì')
|| (inChar == 'Í')
|| (inChar == 'Î')
|| (inChar == 'Ï')
|| (inChar == 'Ò')
|| (inChar == 'Ó')
|| (inChar == 'Ô')
|| (inChar == 'Õ')
|| (inChar == 'Ö')
|| (inChar == 'Œ')
|| (inChar == 'Ø')
|| (inChar == 'Ù')
|| (inChar == 'Ú')
|| (inChar == 'Û')
|| (inChar == 'Ü')
|| (inChar == 'Ý')
|| (inChar == 'Ÿ'))
|| (inChar == 'À')
|| (inChar == 'Á')
|| (inChar == 'Â')
|| (inChar == 'Ã')
|| (inChar == 'Ä')
|| (inChar == 'Å')
|| (inChar == 'Æ')
|| (inChar == 'È')
|| (inChar == 'É')
|| (inChar == 'Ê')
|| (inChar == 'Ë')
|| (inChar == 'Ì')
|| (inChar == 'Í')
|| (inChar == 'Î')
|| (inChar == 'Ï')
|| (inChar == 'Ò')
|| (inChar == 'Ó')
|| (inChar == 'Ô')
|| (inChar == 'Õ')
|| (inChar == 'Ö')
|| (inChar == 'Œ')
|| (inChar == 'Ø')
|| (inChar == 'Ù')
|| (inChar == 'Ú')
|| (inChar == 'Û')
|| (inChar == 'Ü')
|| (inChar == 'Ý')
|| (inChar == 'Ÿ'))
{
return true;
}
@ -780,8 +780,8 @@ public class Metaphone3 {
Encode_B();
break;
case 'ß':
case 'Ç':
case 'ß':
case 'Ç':
MetaphAdd("S");
m_current++;
@ -837,7 +837,7 @@ public class Metaphone3 {
Encode_N();
break;
case 'Ñ':
case 'Ñ':
MetaphAdd("N");
m_current++;
@ -868,8 +868,8 @@ public class Metaphone3 {
Encode_T();
break;
case 'Ð': // eth
case 'Þ': // thorn
case 'Ð': // eth
case 'Þ': // thorn
MetaphAdd("0");
m_current++;
@ -890,13 +890,13 @@ public class Metaphone3 {
Encode_X();
break;
case 'Š':
case 'Š':
MetaphAdd("X");
m_current++;
break;
case 'Ž':
case 'Ž':
MetaphAdd("S");
m_current++;
@ -6137,7 +6137,7 @@ public class Metaphone3 {
return true;
}
// old 'École française d'Extrême-Orient' chinese pinyin where 'ts-' => 'X'
// old 'École française d'Extrême-Orient' chinese pinyin where 'ts-' => 'X'
if (((m_length == 3) && StringAt((m_current + 1), 2, "SO", "SA", "SU", ""))
|| ((m_length == 4) && StringAt((m_current + 1), 3, "SAO", "SAI", ""))
|| ((m_length == 5) && StringAt((m_current + 1), 4, "SING", "SANG", "")))