[sword-devel] Possible problem in unorm_normalize?
Manfred Bergmann
manfred.bergmann at me.com
Thu Nov 24 00:54:28 MST 2016
Hi.
Someone reported that he didn’t see any text output for module SBLGNT v1.3.1
Interestingly text is shows when greek accents option is enabled.
I have pinpointed where the text disappears:
utf8nfkd.cpp
char UTF8NFKD::processText(SWBuf &text, const SWKey *key, const SWModule *module)
//compatability decomposition
ulen = unorm_normalize(source, ulen, UNORM_NFKD, 0, target, len, &err);
This sets ulen to 0 and the next call basically removes the text.
Can someone reproduce this? Maybe it’s because of ICU on macOS?
I use SVN version r3443.
Manfred
More information about the sword-devel
mailing list