c - Is there an alphabetic wchar_t such that its capital and lower versions are the same? -
i've been wondering whether there char c
such iwalpha(c) == 1
, towlower(c) == towupper(c)
. i'm trying implement dictionary in trie. each node has wchar_t
label , boolean a_word
provides information whether node represents word.
i'd save such trie file without wasting memory, thought won't save boolean, write labels represent word capital case. question whether i'll lose information way.
thanks in advance
note iswalpha
locale-specific. anyway, if locale supports arabic letters, should met conditions.
edit: make example extended latin characters, towupper('ß') == towlower('ß') == 'ß'
, long locale supprts eszett
Comments
Post a Comment