search for: is_upper

Displaying 1 result from an estimated 1 matches for "is_upper".

2005 Dec 09
1
QueryParser and utf-8 strings
..._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 of the characters above 0x80 are meant as letters, onl...