Question

How do I store a Cyrillic letter in a char? Because a char stores the data using ASCII, but that doesn't include Cyrillic characters(ex: йцукенгшщз). So how can I store Cyrillic letters in a char?

Was it helpful?

Solution

Maybe I don't understood question, but try to use right codepage. CP1251 / OEM 866 / KOI8-R? There exists some codepages that may be supported by viewers and that allows to store and represent any Cyrillic symbol in single char.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top