Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top