ICU-899 Changes for revisited proposal
X-SVN-Rev: 5736
This commit is contained in:
parent
c3c5bf986e
commit
5641412ef6
@ -122,11 +122,11 @@ Spec::Spec(const UnicodeString& theSpec) : top(theSpec) {
|
||||
// Canonicalize script name -or- do locale->script mapping
|
||||
status = U_ZERO_ERROR;
|
||||
CharString spc(top);
|
||||
UScriptCode s = uchar_getScriptCode(spc, &status);
|
||||
if (s != U_INVALID_SCRIPT_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
|
||||
UScriptCode s = uscript_getCode(spc, &status);
|
||||
if (s != USCRIPT_INVALID_CODE
|
||||
&& 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
|
||||
|
Loading…
Reference in New Issue
Block a user