xapian-core
1.4.26
|
Unicode and UTF-8 related classes and functions. More...
Go to the source code of this file.
Classes | |
class | Xapian::Utf8Iterator |
An iterator which returns Unicode character values from a UTF-8 encoded string. More... | |
Namespaces | |
Xapian | |
The Xapian namespace contains public interfaces for the Xapian library. | |
Xapian::Unicode | |
Functions associated with handling Unicode characters. | |
Xapian::Unicode::Internal | |
Functions | |
int | Xapian::Unicode::Internal::get_character_info (unsigned ch) |
Extract information about a Unicode character. More... | |
int | Xapian::Unicode::Internal::get_case_type (int info) |
category | Xapian::Unicode::Internal::get_category (int info) |
int | Xapian::Unicode::Internal::get_delta (int info) |
unsigned | Xapian::Unicode::nonascii_to_utf8 (unsigned ch, char *buf) |
Convert a single non-ASCII Unicode character to UTF-8. More... | |
unsigned | Xapian::Unicode::to_utf8 (unsigned ch, char *buf) |
Convert a single Unicode character to UTF-8. More... | |
void | Xapian::Unicode::append_utf8 (std::string &s, unsigned ch) |
Append the UTF-8 representation of a single Unicode character to a std::string. More... | |
category | Xapian::Unicode::get_category (unsigned ch) |
Return the category which a given Unicode character falls into. More... | |
bool | Xapian::Unicode::is_wordchar (unsigned ch) |
Test if a given Unicode character is "word character". More... | |
bool | Xapian::Unicode::is_whitespace (unsigned ch) |
Test if a given Unicode character is a whitespace character. More... | |
bool | Xapian::Unicode::is_currency (unsigned ch) |
Test if a given Unicode character is a currency symbol. More... | |
unsigned | Xapian::Unicode::tolower (unsigned ch) |
Convert a Unicode character to lowercase. More... | |
unsigned | Xapian::Unicode::toupper (unsigned ch) |
Convert a Unicode character to uppercase. More... | |
std::string | Xapian::Unicode::tolower (const std::string &term) |
Convert a UTF-8 std::string to lowercase. More... | |
std::string | Xapian::Unicode::toupper (const std::string &term) |
Convert a UTF-8 std::string to uppercase. More... | |
Unicode and UTF-8 related classes and functions.
Definition in file unicode.h.