lost_in_the_source
lost_in_the_source

Reputation: 11237

How can I store Cyrillic characters in a char

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?

Upvotes: 0

Views: 1584

Answers (1)

Arkady
Arkady

Reputation: 2207

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.

Upvotes: 2

Related Questions