How to get a shifted multibyte state

Krzysztof Żelechowski 41 Reputation points

1.Is it possible to perform a sequence of operations on a wide-character stream so that its multibyte status will become shifted?
2. If you perform an operation on a narrow-character stream under a multi-byte locale and that operation stops in the middle of a compound character, will its multibyte status become shifted?

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,453 questions
{count} votes