How to check in C++ if a character is a letter of some alphabet? Generally I need something like this:
bool is_german(wchar_t ch);
bool is_russian(wchar_t ch);
bool is_japanese(wchar_t ch);
and etc.
EDIT 1. Can I do it without defining all charachter sets of all languages I need. Or maybe there is some library which has somethis like this:
std::vector alphabet = GetEnglishAlphabet(); // alphabet = {L'a', L'b', L'c', ...}
EDIT 2. If someone is interested in I've found
Script QChar::script() const