ICU-1007 make decompose() do NF*D instead of NF*C

X-SVN-Rev: 6663
This commit is contained in:
Alan Liu 2001-11-07 17:54:01 +00:00
parent 3e9c27687a
commit 8baec2bb72

View File

@ -290,7 +290,7 @@ Normalizer::decompose(const UnicodeString& source,
result.setToBogus();
} else {
UChar *buffer=result.getBuffer(source.length());
int32_t length=unorm_compose(buffer, result.getCapacity(),
int32_t length=unorm_decompose(buffer, result.getCapacity(),
source.getBuffer(), source.length(),
compat, (options&IGNORE_HANGUL)!=0,
&status);