O
Old Wolf
As far as I can see, mbtowc and mbstowcs assume that there is
exactly one wide character for each multi-byte sequence. How are
you meant to cope with MBS that correspond to two wide characters?
For example, if it is Unicode and the MBS represents a letter
with a combining diacritic.
exactly one wide character for each multi-byte sequence. How are
you meant to cope with MBS that correspond to two wide characters?
For example, if it is Unicode and the MBS represents a letter
with a combining diacritic.