ICU-899 Changes for revisited proposal

X-SVN-Rev: 5736
This commit is contained in:
Ram Viswanadha 2001-09-11 18:38:28 +00:00
parent c3c5bf986e
commit 5641412ef6

View File

@ -122,11 +122,11 @@ Spec::Spec(const UnicodeString& theSpec) : top(theSpec) {
// Canonicalize script name -or- do locale->script mapping // Canonicalize script name -or- do locale->script mapping
status = U_ZERO_ERROR; status = U_ZERO_ERROR;
CharString spc(top); CharString spc(top);
UScriptCode s = uchar_getScriptCode(spc, &status); UScriptCode s = uscript_getCode(spc, &status);
if (s != U_INVALID_SCRIPT_CODE if (s != USCRIPT_INVALID_CODE
&& s != U_KATAKANA // TEMPORARY! REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME && s != USCRIPT_KATAKANA // TEMPORARY! REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME
) { ) {
scriptName = UnicodeString(uchar_getScriptName(s), ""); scriptName = UnicodeString(uscript_getName(s), "");
} }
// Canonicalize top // Canonicalize top