Displaying 1 result from an estimated 1 matches for "is_tab".
2005 Dec 09
1
QueryParser and utf-8 strings
...ngs (or
indeed, for any encoding other than ISO8859_1).
I tried to disable the transliteration in
accentnormalisingitor.h and modified common/utils.h to contain:
inline bool C_isalpha(char ch) {
using namespace Xapian::Internal;
return (static_cast<unsigned char>(ch)>=0x80) ||
(is_tab[static_cast<unsigned char>(ch)] & (IS_UPPER|IS_LOWER));
}
inline bool C_isalnum(char ch) {
using namespace Xapian::Internal;
return (static_cast<unsigned char>(ch)>=0x80) ||
(is_tab[static_cast<unsigned char>(ch)] & (IS_UPPER|IS_LOWER|IS_DIGIT));
}
since most...