ICU-1007 make decompose() do NF*D instead of NF*C
X-SVN-Rev: 6663
This commit is contained in:
parent
3e9c27687a
commit
8baec2bb72
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user