开发者

How to convert ASCII or Unicode to cyrillic?

I am trying to convert ascii code or unicode of the key press to cyrillic. I have used keyboard l开发者_C百科ayout manager for this but it is not converting all the characters to cyrillic.

Is there any other way to convert the character into cyrillic? Or do we need to do anything else in keyboard layout manager?

vishal N


It depends which cyrillic codepage do you use. cp-1251, cp-866 or koi8-r.

  • https://en.wikipedia.org/wiki/Windows-1251
  • https://en.wikipedia.org/wiki/Code_page_866
  • https://en.wikipedia.org/wiki/KOI_character_encodings

All three codepages have one byte per symbol and it is very simple to convert. It is simple table translation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜