1*cdf0e10cSrcweir /************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir package ifc.i18n; 28*cdf0e10cSrcweir 29*cdf0e10cSrcweir import com.sun.star.i18n.CollatorOptions; 30*cdf0e10cSrcweir import com.sun.star.i18n.XExtendedIndexEntrySupplier; 31*cdf0e10cSrcweir import com.sun.star.lang.Locale; 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir import java.util.HashMap; 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir import lib.MultiMethodTest; 36*cdf0e10cSrcweir 37*cdf0e10cSrcweir 38*cdf0e10cSrcweir public class _XExtendedIndexEntrySupplier extends MultiMethodTest { 39*cdf0e10cSrcweir public XExtendedIndexEntrySupplier oObj; 40*cdf0e10cSrcweir protected Locale[] locales = null; 41*cdf0e10cSrcweir protected HashMap algorithms = new HashMap(); 42*cdf0e10cSrcweir 43*cdf0e10cSrcweir public void _compareIndexEntry() { 44*cdf0e10cSrcweir requiredMethod("getIndexKey()"); 45*cdf0e10cSrcweir Locale locale = new Locale("zh", "CN", ""); 46*cdf0e10cSrcweir String val1 = new String(new char[]{UnicodeStringPair.getUnicodeValue(0), UnicodeStringPair.getUnicodeValue(1)}); 47*cdf0e10cSrcweir String val2 = new String(new char[]{UnicodeStringPair.getUnicodeValue(1), UnicodeStringPair.getUnicodeValue(0)}); 48*cdf0e10cSrcweir short result1 = oObj.compareIndexEntry(val1, "", locale, val1, "", locale); 49*cdf0e10cSrcweir short result2 = oObj.compareIndexEntry(val1, "", locale, val2, "", locale); 50*cdf0e10cSrcweir short result3 = oObj.compareIndexEntry(val2, "", locale, val1, "", locale); 51*cdf0e10cSrcweir 52*cdf0e10cSrcweir tRes.tested("compareIndexEntry()", result1 == 0 && result2 + result3 == 0); 53*cdf0e10cSrcweir } 54*cdf0e10cSrcweir 55*cdf0e10cSrcweir /* 56*cdf0e10cSrcweir * gets the list of all algorithms for each listed language 57*cdf0e10cSrcweir * is OK if everyone of the returned lists are filled 58*cdf0e10cSrcweir */ 59*cdf0e10cSrcweir public void _getAlgorithmList() { 60*cdf0e10cSrcweir requiredMethod("getLocaleList()"); 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir boolean result = true; 63*cdf0e10cSrcweir boolean locResult = false; 64*cdf0e10cSrcweir 65*cdf0e10cSrcweir for (int i = 0; i < locales.length; i++) { 66*cdf0e10cSrcweir String[] algNames = oObj.getAlgorithmList(locales[i]); 67*cdf0e10cSrcweir algorithms.put(new Integer(i), algNames); 68*cdf0e10cSrcweir 69*cdf0e10cSrcweir locResult = algNames != null && algNames.length > 0; 70*cdf0e10cSrcweir System.out.println("Locale " + i + ": " + locales[i].Country+","+locales[i].Language); 71*cdf0e10cSrcweir 72*cdf0e10cSrcweir for (int j=0; j<algNames.length; j++) { 73*cdf0e10cSrcweir System.out.println("\tAlgorithm " + j + ": " + algNames[j]); 74*cdf0e10cSrcweir } 75*cdf0e10cSrcweir 76*cdf0e10cSrcweir if (!locResult) { 77*cdf0e10cSrcweir log.println("No Algorithm found for " + locales[i].Country + 78*cdf0e10cSrcweir "," + locales[i].Language); 79*cdf0e10cSrcweir } 80*cdf0e10cSrcweir 81*cdf0e10cSrcweir result &= locResult; 82*cdf0e10cSrcweir } 83*cdf0e10cSrcweir 84*cdf0e10cSrcweir tRes.tested("getAlgorithmList()", result); 85*cdf0e10cSrcweir } 86*cdf0e10cSrcweir 87*cdf0e10cSrcweir public void _getIndexKey() { 88*cdf0e10cSrcweir requiredMethod("loadAlgorithm()"); 89*cdf0e10cSrcweir char[] characters = new char[] { 19968 }; 90*cdf0e10cSrcweir String getIndexFor = new String(characters); 91*cdf0e10cSrcweir for (int i = 0; i < locales.length; i++) { 92*cdf0e10cSrcweir log.println("Language: " + locales[i].Language); 93*cdf0e10cSrcweir 94*cdf0e10cSrcweir for (int j = 0; j < algorithms.size(); j++) { 95*cdf0e10cSrcweir String[] algs = (String[])algorithms.get(new Integer(j)); 96*cdf0e10cSrcweir for (int k=0;k<algs.length;k++) { 97*cdf0e10cSrcweir log.println("\t Algorythm :" + 98*cdf0e10cSrcweir algs[k]); 99*cdf0e10cSrcweir oObj.loadAlgorithm(locales[i], algs[k], CollatorOptions.CollatorOptions_IGNORE_CASE); 100*cdf0e10cSrcweir log.println("\t\t Get: " + 101*cdf0e10cSrcweir oObj.getIndexKey(getIndexFor, "", locales[i])); 102*cdf0e10cSrcweir } 103*cdf0e10cSrcweir } 104*cdf0e10cSrcweir } 105*cdf0e10cSrcweir tRes.tested("getIndexKey()", true); 106*cdf0e10cSrcweir } 107*cdf0e10cSrcweir 108*cdf0e10cSrcweir /* 109*cdf0e10cSrcweir * gets a list of all locales, is OK if this list isn't empty 110*cdf0e10cSrcweir */ 111*cdf0e10cSrcweir public void _getLocaleList() { 112*cdf0e10cSrcweir locales = oObj.getLocaleList(); 113*cdf0e10cSrcweir tRes.tested("getLocaleList()", locales.length > 0); 114*cdf0e10cSrcweir } 115*cdf0e10cSrcweir 116*cdf0e10cSrcweir /* 117*cdf0e10cSrcweir * gets one phonetic canidate for the chinese local 118*cdf0e10cSrcweir * is ok if 'yi' is returned as expected. 119*cdf0e10cSrcweir */ 120*cdf0e10cSrcweir public void _getPhoneticCandidate() { 121*cdf0e10cSrcweir requiredMethod("getLocaleList()"); 122*cdf0e10cSrcweir 123*cdf0e10cSrcweir boolean res = true; 124*cdf0e10cSrcweir 125*cdf0e10cSrcweir Locale loc = new Locale("zh", "CN", ""); 126*cdf0e10cSrcweir 127*cdf0e10cSrcweir for (int i = 0;i<UnicodeStringPair.getValCount();i++) { 128*cdf0e10cSrcweir 129*cdf0e10cSrcweir char[] c = new char[]{UnicodeStringPair.getUnicodeValue(i)}; 130*cdf0e10cSrcweir 131*cdf0e10cSrcweir String getting = oObj.getPhoneticCandidate(new String(c), loc); 132*cdf0e10cSrcweir 133*cdf0e10cSrcweir boolean locResult = getting.equals(UnicodeStringPair.getExpectedPhoneticString(i)); 134*cdf0e10cSrcweir 135*cdf0e10cSrcweir if (!locResult) { 136*cdf0e10cSrcweir log.println("Char: "+ c[0] + " (" + (int)c[0] + ")"); 137*cdf0e10cSrcweir log.println("Expected " + UnicodeStringPair.getExpectedPhoneticString(i)); 138*cdf0e10cSrcweir log.println("Getting " + getting); 139*cdf0e10cSrcweir } 140*cdf0e10cSrcweir 141*cdf0e10cSrcweir res &= locResult; 142*cdf0e10cSrcweir } 143*cdf0e10cSrcweir tRes.tested("getPhoneticCandidate()", res); 144*cdf0e10cSrcweir } 145*cdf0e10cSrcweir 146*cdf0e10cSrcweir /* 147*cdf0e10cSrcweir * loads all algorithms available in all language. 148*cdf0e10cSrcweir * Is OK if no exception occurs and the method returns 149*cdf0e10cSrcweir * true for each valid algorithm and false otherwise 150*cdf0e10cSrcweir */ 151*cdf0e10cSrcweir public void _loadAlgorithm() { 152*cdf0e10cSrcweir requiredMethod("getAlgorithmList()"); 153*cdf0e10cSrcweir 154*cdf0e10cSrcweir boolean res = true; 155*cdf0e10cSrcweir 156*cdf0e10cSrcweir for (int i = 0; i < algorithms.size(); i++) { 157*cdf0e10cSrcweir String[] names = (String[]) algorithms.get(new Integer(i)); 158*cdf0e10cSrcweir log.println("loading algorithms for " + locales[i].Country + 159*cdf0e10cSrcweir "," + locales[i].Language); 160*cdf0e10cSrcweir 161*cdf0e10cSrcweir for (int j = 0; j < names.length; j++) { 162*cdf0e10cSrcweir log.println("\t Loading " + names[j]); 163*cdf0e10cSrcweir 164*cdf0e10cSrcweir boolean localres = oObj.loadAlgorithm(locales[i], names[j], 165*cdf0e10cSrcweir CollatorOptions.CollatorOptions_IGNORE_CASE); 166*cdf0e10cSrcweir 167*cdf0e10cSrcweir if (!localres) { 168*cdf0e10cSrcweir log.println("\t ... didn't work - FAILED"); 169*cdf0e10cSrcweir } else { 170*cdf0e10cSrcweir log.println("\t ... worked - OK"); 171*cdf0e10cSrcweir } 172*cdf0e10cSrcweir 173*cdf0e10cSrcweir res &= localres; 174*cdf0e10cSrcweir } 175*cdf0e10cSrcweir 176*cdf0e10cSrcweir /* log.println("\tTrying to load 'dummy' algorithm"); 177*cdf0e10cSrcweir 178*cdf0e10cSrcweir boolean localres = !oObj.loadAlgorithm(locales[i], "dummy", 179*cdf0e10cSrcweir CollatorOptions.CollatorOptions_IGNORE_WIDTH); 180*cdf0e10cSrcweir 181*cdf0e10cSrcweir if (!localres) { 182*cdf0e10cSrcweir log.println("\t ... didn't work as expected - FAILED"); 183*cdf0e10cSrcweir } else { 184*cdf0e10cSrcweir log.println("\t ... worked - OK"); 185*cdf0e10cSrcweir } 186*cdf0e10cSrcweir 187*cdf0e10cSrcweir res &= localres;*/ 188*cdf0e10cSrcweir } 189*cdf0e10cSrcweir 190*cdf0e10cSrcweir tRes.tested("loadAlgorithm()", res); 191*cdf0e10cSrcweir } 192*cdf0e10cSrcweir 193*cdf0e10cSrcweir /* 194*cdf0e10cSrcweir * checks the method usePhoneticEntry(). Only the languages ja, ko and zh 195*cdf0e10cSrcweir * should return true. Has OK state if exactly this is the case. 196*cdf0e10cSrcweir */ 197*cdf0e10cSrcweir public void _usePhoneticEntry() { 198*cdf0e10cSrcweir requiredMethod("getLocaleList()"); 199*cdf0e10cSrcweir 200*cdf0e10cSrcweir boolean res = true; 201*cdf0e10cSrcweir 202*cdf0e10cSrcweir for (int i = 0; i < locales.length; i++) { 203*cdf0e10cSrcweir boolean expected = false; 204*cdf0e10cSrcweir 205*cdf0e10cSrcweir if (locales[i].Language.equals("ja") || 206*cdf0e10cSrcweir locales[i].Language.equals("ko") || 207*cdf0e10cSrcweir locales[i].Language.equals("zh")) { 208*cdf0e10cSrcweir expected = true; 209*cdf0e10cSrcweir } 210*cdf0e10cSrcweir 211*cdf0e10cSrcweir boolean locResult = oObj.usePhoneticEntry(locales[i]) == expected; 212*cdf0e10cSrcweir 213*cdf0e10cSrcweir if (!locResult) { 214*cdf0e10cSrcweir log.println("Failure for language " + locales[i].Language); 215*cdf0e10cSrcweir log.println("Expected " + expected); 216*cdf0e10cSrcweir log.println("Getting " + oObj.usePhoneticEntry(locales[i])); 217*cdf0e10cSrcweir } 218*cdf0e10cSrcweir 219*cdf0e10cSrcweir res &= locResult; 220*cdf0e10cSrcweir } 221*cdf0e10cSrcweir 222*cdf0e10cSrcweir tRes.tested("usePhoneticEntry()", res); 223*cdf0e10cSrcweir } 224*cdf0e10cSrcweir 225*cdf0e10cSrcweir /** 226*cdf0e10cSrcweir * Helper class to handle the phonetic equivalence of unicode characters 227*cdf0e10cSrcweir * This class delivers an amount oif unicode characters and the equivalent phonetics 228*cdf0e10cSrcweir * for the "getPhoneticCandidate" test. Euivalents are only usable for zh,CN locale. 229*cdf0e10cSrcweir */ 230*cdf0e10cSrcweir public static class UnicodeStringPair { 231*cdf0e10cSrcweir final static int valCount = 78; 232*cdf0e10cSrcweir static String[] sStringEquivalence = null; 233*cdf0e10cSrcweir static char[] iUnicodeEquivalence = null; 234*cdf0e10cSrcweir 235*cdf0e10cSrcweir static { 236*cdf0e10cSrcweir sStringEquivalence = new String[valCount]; 237*cdf0e10cSrcweir iUnicodeEquivalence = new char[valCount]; 238*cdf0e10cSrcweir fillValues(); 239*cdf0e10cSrcweir } 240*cdf0e10cSrcweir 241*cdf0e10cSrcweir public static int getValCount() { 242*cdf0e10cSrcweir return valCount; 243*cdf0e10cSrcweir } 244*cdf0e10cSrcweir 245*cdf0e10cSrcweir public static String getExpectedPhoneticString(int index) { 246*cdf0e10cSrcweir if (index >= valCount) return null; 247*cdf0e10cSrcweir return sStringEquivalence[index]; 248*cdf0e10cSrcweir } 249*cdf0e10cSrcweir 250*cdf0e10cSrcweir public static char getUnicodeValue(int index) { 251*cdf0e10cSrcweir if (index > valCount) return 0; 252*cdf0e10cSrcweir return iUnicodeEquivalence[index]; 253*cdf0e10cSrcweir } 254*cdf0e10cSrcweir 255*cdf0e10cSrcweir private static void fillValues() { 256*cdf0e10cSrcweir iUnicodeEquivalence[0] = 20049; sStringEquivalence[0] = "zhong"; 257*cdf0e10cSrcweir iUnicodeEquivalence[1] = 19968; sStringEquivalence[1] = "yi"; 258*cdf0e10cSrcweir iUnicodeEquivalence[2] = 19969; sStringEquivalence[2] = "ding"; 259*cdf0e10cSrcweir iUnicodeEquivalence[3] = 19970; sStringEquivalence[3] = "kao"; 260*cdf0e10cSrcweir iUnicodeEquivalence[4] = 19971; sStringEquivalence[4] = "qi"; 261*cdf0e10cSrcweir iUnicodeEquivalence[5] = 19972; sStringEquivalence[5] = "shang"; 262*cdf0e10cSrcweir iUnicodeEquivalence[6] = 19973; sStringEquivalence[6] = "xia"; 263*cdf0e10cSrcweir iUnicodeEquivalence[7] = 19975; sStringEquivalence[7] = "wan"; 264*cdf0e10cSrcweir iUnicodeEquivalence[8] = 19976; sStringEquivalence[8] = "zhang"; 265*cdf0e10cSrcweir iUnicodeEquivalence[9] = 19977; sStringEquivalence[9] = "san"; 266*cdf0e10cSrcweir iUnicodeEquivalence[10] = 19978; sStringEquivalence[10] = "shang"; 267*cdf0e10cSrcweir iUnicodeEquivalence[11] = 19979; sStringEquivalence[11] = "xia"; 268*cdf0e10cSrcweir iUnicodeEquivalence[12] = 19980; sStringEquivalence[12] = "ji"; 269*cdf0e10cSrcweir iUnicodeEquivalence[13] = 19981; sStringEquivalence[13] = "bu"; 270*cdf0e10cSrcweir iUnicodeEquivalence[14] = 19982; sStringEquivalence[14] = "yu"; 271*cdf0e10cSrcweir iUnicodeEquivalence[15] = 19983; sStringEquivalence[15] = "mian"; 272*cdf0e10cSrcweir iUnicodeEquivalence[16] = 19984; sStringEquivalence[16] = "gai"; 273*cdf0e10cSrcweir iUnicodeEquivalence[17] = 19985; sStringEquivalence[17] = "chou"; 274*cdf0e10cSrcweir iUnicodeEquivalence[18] = 19986; sStringEquivalence[18] = "chou"; 275*cdf0e10cSrcweir iUnicodeEquivalence[19] = 19987; sStringEquivalence[19] = "zhuan"; 276*cdf0e10cSrcweir iUnicodeEquivalence[20] = 19988; sStringEquivalence[20] = "qie"; 277*cdf0e10cSrcweir iUnicodeEquivalence[21] = 19989; sStringEquivalence[21] = "pi"; 278*cdf0e10cSrcweir iUnicodeEquivalence[22] = 19990; sStringEquivalence[22] = "shi"; 279*cdf0e10cSrcweir iUnicodeEquivalence[23] = 19991; sStringEquivalence[23] = "shi"; 280*cdf0e10cSrcweir iUnicodeEquivalence[24] = 19992; sStringEquivalence[24] = "qiu"; 281*cdf0e10cSrcweir iUnicodeEquivalence[25] = 19993; sStringEquivalence[25] = "bing"; 282*cdf0e10cSrcweir iUnicodeEquivalence[26] = 19994; sStringEquivalence[26] = "ye"; 283*cdf0e10cSrcweir iUnicodeEquivalence[27] = 19995; sStringEquivalence[27] = "cong"; 284*cdf0e10cSrcweir iUnicodeEquivalence[28] = 19996; sStringEquivalence[28] = "dong"; 285*cdf0e10cSrcweir iUnicodeEquivalence[29] = 19997; sStringEquivalence[29] = "si"; 286*cdf0e10cSrcweir iUnicodeEquivalence[30] = 19998; sStringEquivalence[30] = "cheng"; 287*cdf0e10cSrcweir iUnicodeEquivalence[31] = 19999; sStringEquivalence[31] = "diu"; 288*cdf0e10cSrcweir iUnicodeEquivalence[32] = 20000; sStringEquivalence[32] = "qiu"; 289*cdf0e10cSrcweir iUnicodeEquivalence[33] = 20001; sStringEquivalence[33] = "liang"; 290*cdf0e10cSrcweir iUnicodeEquivalence[34] = 20002; sStringEquivalence[34] = "diu"; 291*cdf0e10cSrcweir iUnicodeEquivalence[35] = 20003; sStringEquivalence[35] = "you"; 292*cdf0e10cSrcweir iUnicodeEquivalence[36] = 20004; sStringEquivalence[36] = "liang"; 293*cdf0e10cSrcweir iUnicodeEquivalence[37] = 20005; sStringEquivalence[37] = "yan"; 294*cdf0e10cSrcweir iUnicodeEquivalence[38] = 20006; sStringEquivalence[38] = "bing"; 295*cdf0e10cSrcweir iUnicodeEquivalence[39] = 20007; sStringEquivalence[39] = "sang"; 296*cdf0e10cSrcweir iUnicodeEquivalence[40] = 20008; sStringEquivalence[40] = "shu"; 297*cdf0e10cSrcweir iUnicodeEquivalence[41] = 20009; sStringEquivalence[41] = "jiu"; 298*cdf0e10cSrcweir iUnicodeEquivalence[42] = 20010; sStringEquivalence[42] = "ge"; 299*cdf0e10cSrcweir iUnicodeEquivalence[43] = 20011; sStringEquivalence[43] = "ya"; 300*cdf0e10cSrcweir iUnicodeEquivalence[44] = 20012; sStringEquivalence[44] = "qiang"; 301*cdf0e10cSrcweir iUnicodeEquivalence[45] = 20013; sStringEquivalence[45] = "zhong"; 302*cdf0e10cSrcweir iUnicodeEquivalence[46] = 20014; sStringEquivalence[46] = "ji"; 303*cdf0e10cSrcweir iUnicodeEquivalence[47] = 20015; sStringEquivalence[47] = "jie"; 304*cdf0e10cSrcweir iUnicodeEquivalence[48] = 20016; sStringEquivalence[48] = "feng"; 305*cdf0e10cSrcweir iUnicodeEquivalence[49] = 20017; sStringEquivalence[49] = "guan"; 306*cdf0e10cSrcweir iUnicodeEquivalence[50] = 20018; sStringEquivalence[50] = "chuan"; 307*cdf0e10cSrcweir iUnicodeEquivalence[51] = 20019; sStringEquivalence[51] = "chan"; 308*cdf0e10cSrcweir iUnicodeEquivalence[52] = 20020; sStringEquivalence[52] = "lin"; 309*cdf0e10cSrcweir iUnicodeEquivalence[53] = 20021; sStringEquivalence[53] = "zhuo"; 310*cdf0e10cSrcweir iUnicodeEquivalence[54] = 20022; sStringEquivalence[54] = "zhu"; 311*cdf0e10cSrcweir iUnicodeEquivalence[55] = 20024; sStringEquivalence[55] = "wan"; 312*cdf0e10cSrcweir iUnicodeEquivalence[56] = 20025; sStringEquivalence[56] = "dan"; 313*cdf0e10cSrcweir iUnicodeEquivalence[57] = 20026; sStringEquivalence[57] = "wei"; 314*cdf0e10cSrcweir iUnicodeEquivalence[58] = 20027; sStringEquivalence[58] = "zhu"; 315*cdf0e10cSrcweir iUnicodeEquivalence[59] = 20028; sStringEquivalence[59] = "jing"; 316*cdf0e10cSrcweir iUnicodeEquivalence[60] = 20029; sStringEquivalence[60] = "li"; 317*cdf0e10cSrcweir iUnicodeEquivalence[61] = 20030; sStringEquivalence[61] = "ju"; 318*cdf0e10cSrcweir iUnicodeEquivalence[62] = 20031; sStringEquivalence[62] = "pie"; 319*cdf0e10cSrcweir iUnicodeEquivalence[63] = 20032; sStringEquivalence[63] = "fu"; 320*cdf0e10cSrcweir iUnicodeEquivalence[64] = 20033; sStringEquivalence[64] = "yi"; 321*cdf0e10cSrcweir iUnicodeEquivalence[65] = 20034; sStringEquivalence[65] = "yi"; 322*cdf0e10cSrcweir iUnicodeEquivalence[66] = 20035; sStringEquivalence[66] = "nai"; 323*cdf0e10cSrcweir iUnicodeEquivalence[67] = 20037; sStringEquivalence[67] = "jiu"; 324*cdf0e10cSrcweir iUnicodeEquivalence[68] = 20038; sStringEquivalence[68] = "jiu"; 325*cdf0e10cSrcweir iUnicodeEquivalence[69] = 20039; sStringEquivalence[69] = "tuo"; 326*cdf0e10cSrcweir iUnicodeEquivalence[70] = 20040; sStringEquivalence[70] = "me"; 327*cdf0e10cSrcweir iUnicodeEquivalence[71] = 20041; sStringEquivalence[71] = "yi"; 328*cdf0e10cSrcweir iUnicodeEquivalence[72] = 20043; sStringEquivalence[72] = "zhi"; 329*cdf0e10cSrcweir iUnicodeEquivalence[73] = 20044; sStringEquivalence[73] = "wu"; 330*cdf0e10cSrcweir iUnicodeEquivalence[74] = 20045; sStringEquivalence[74] = "zha"; 331*cdf0e10cSrcweir iUnicodeEquivalence[75] = 20046; sStringEquivalence[75] = "hu"; 332*cdf0e10cSrcweir iUnicodeEquivalence[76] = 20047; sStringEquivalence[76] = "fa"; 333*cdf0e10cSrcweir iUnicodeEquivalence[77] = 20048; sStringEquivalence[77] = "le"; 334*cdf0e10cSrcweir } 335*cdf0e10cSrcweir } 336*cdf0e10cSrcweir } 337