You can't; there are no Cyrillic characters in ASCII. The chart you've shown is for one of the many "extended ASCII" character sets; specifically, it appears to be Windows-1251 (a.k.a. CP1251). In order to get a character's codepoint in this encoding, you thus need to first encode the string as CP1251 and then take the value of the resulting byte:

# Assuming Python 3
s = "Йог".encode('cp1251')
for b in s:
    print(b)
Answer from jwodder on Stack Overflow
🌐
Convertcyrillic
convertcyrillic.com
Convert Cyrillic
We cannot provide a description for this page right now
🌐
Ascii-codes
ascii-codes.com › cp855.html
Ascii table for Cyrillic charset (CP855) - Ascii-Codes
Ascii table for IBM PC, Baltic, Cyrillic, French Canadian, Greek, Hebrew, Icelandic, Latin-1, Latin-2, Nordic, Portuguese and Turkish charsets!
🌐
Mashke
mashke.org › Conv
Automatic Cyrillic Converter
AUTOMATIC CYRILLIC CONVERTER · No need to know the source encoding — just select the target one · Full Ukrainian and limited Belorussian support · [Helpful hints | Transliteration table]
🌐
Stack Overflow
stackoverflow.com › questions › 4724390 › how-to-convert-ascii-or-unicode-to-cyrillic
character encoding - How to convert ASCII or Unicode to cyrillic? - Stack Overflow
It depends which cyrillic codepage do you use. cp-1251, cp-866 or koi8-r. ... All three codepages have one byte per symbol and it is very simple to convert.
🌐
ASCII Code
ascii-code.com › characters › cyrillic
ASCII Cyrillic Characters
This is a list of Cyrillic characters such as letters, symbols, punctuation marks available under different ASCII character sets. Under each ASCII character you will find more detailed information about under which character set you find the character. ... ASCII Code of A to ZASCII Code of a to zASCII Code of 0 to 9ASCII control charactersASCII printable charactersASCII alphabet charactersPunctuation and symbolsWhite space characters
🌐
CTAN
ctan.org › pkg › ascii-cyrillic
CTAN: Package ascii-cyrillic
The bundle provides a converter that will transfer 8-Bit Russian and Ukrainian text to and from a “stable” ASCII representation.
🌐
2Cyr
2cyr.com › decode
Universal online Cyrillic decoder - recover your texts
A free online tool for decoding and recovering scrambled text into Cyrillic alphabet
🌐
Ascii-codes
ascii-codes.com › cp866.html
Ascii table for Cyrillic charset (CP866) - Ascii-Codes
Ascii table for IBM PC, Baltic, Cyrillic, French Canadian, Greek, Hebrew, Icelandic, Latin-1, Latin-2, Nordic, Portuguese and Turkish charsets!
Find elsewhere
Top answer
1 of 2
10

It is not "ASCII" nor "ASCII Russian".

Before Unicode became widespread, most computer systems used the ISO-8859 character encodings, of which there were 16, each for a different region (Central European, Cyrillic, Greek...). Windows had its own 'code pages', very similar but with extra glyphs in otherwise-unused ranges. All these character encodings are 8-bit and only differ in the second half (128-255).

The problem with these encodings is that it's next to impossible for a program to determine which encoding was used to save a file, unless it was specified explicitly (such as in HTML pages; however, plain text files have no such metadata tags). Read the Wikipedia article on Mojibake for a more detailed description.

In your example, the document was saved using Windows-1251 (Cyrillic), but your program reads it as if it were Windows-1252 (Western European), which has very different characters in the same positions. To the computer, it looks perfectly okay – it doesn't understand languages or scripts. (There are programs which do statistical analysis in order to determine the correct encoding, though – some web browsers have such a function.)

There are several ways you could convert such text to Unicode:

  • Use online tools such as this one or this one.

  • Use your web browser:

    1. Drag the .txt file into the browser.

    2. From View → Character Encoding (or Firefox → Web Developer → Character Encoding, or Wrench → Tools → Encoding), pick the correct original encoding: "Cyrillic (Windows-1251)" in your case.

  • Use the Notepad2 text editor:

    1. Open the file.

    2. From File → Encoding → Recode..., choose the right original encoding.

  • Use GNU iconv, with Windows binaries either from GnuWin32 or Gettext for Win32.

    iconv -f cp1251 -t utf-8 < myfile.txt > myfile.fixed.txt

    Windows Notepad will correctly read UTF-8 and UTF-16 encoded text.

2 of 2
3

You could convert the encoding using a program such as iconv - but you'll need to know what encoding was used.

It seems to be Windows-1251 according to a random web page found by Google.

Установка:
1) Запускаем QuidamStudioSetup3.15.exe
2) При запросе серийного номера вводим

I don't know Russian but pasting that into translate.google.com suggests that the above is plausible:

installation:
1) Run QuidamStudioSetup3.15.exe
2) When prompted, enter the serial number

So ...

iconv -f 1252 -t UTF-8 document.txt

Should convert your test file into something that can be opened and read in Notepad

🌐
Lexilogos
lexilogos.com › keyboard › russian.htm
Russian Keyboard Online: Cyrillic Alphabet • Lexilogos
Type q after the vowel to add a stress mark Copy [Ctrl]+[C] & Paste [Ctrl]+[V] Note · The transcription use the Latin characters of the Slavic languages: Cyrillic · Slavic · English · Phonetics · ж · ž · zh · /ʒ/ й · j · y, i · /j/ х · h · kh · /x/ ц · c · ts · /ts/ ч · č · ch · /tʃ/ ш · š · sh · /ʃ/ Lexilogos in Russian script: Лексилогос · → Cyrillic-Latin converter ·
🌐
IBM
ibm.com › docs › en › cics-ts › 6.1_beta
IBM Docs
The Coded Character Set Identifiers (CCSIDs) for Cyrillic conversions are listed.
🌐
Metadas Media
metadas.com › support › online tools › utf8 character sets
UTF 8 | Cyrillic | ASCII values 1024 to 1279 - Metadas Media
This page will show you the utf8 characters from 1024 to 1279, These are in the utf8 subset called Cyrillic.
Call   01722412678
Address   21 Northside, Old Sarum, SP4 6BZ, Salisbury
🌐
GitHub
github.com › Aleksej10 › cyrillic
GitHub - Aleksej10/cyrillic: ascii to cyrillic
cyr is a simple console program that converts text written in plain ASCII to UTF-8 cyrillic.
Author   Aleksej10
🌐
URL Decode
urldecoder.org › dec › cyrillic
URL Decoding of "cyrillic" - Online
Decode cyrillic from URL-encoded format with various advanced options. Our site has an easy to use online tool to convert your data.
🌐
Translit
translit.cc
Translit RU: Russian Transliteration and Virtual Keyboard
The conversion keys → CYRILLIC and → LATIN are provided to translate text from the input area to Cyrillic or Latin accordingly. If only a part of the text is selected and one of the translit converter keys is pressed, then the conversion will affect
🌐
Key Shortcut
key-shortcut.com › en › writing-systems › abv-cyrillic-alphabet
абв - Cyrillic alphabet - Key-Shortcut
Unicode table for the Cyrillic writing system / languages Russian, Bulgarian, Kazakh, Mongolian - а б в г д е ж з и к л м н о (HTML charset UTF-8)
🌐
Wikipedia
en.wikipedia.org › wiki › Cyrillic_script_in_Unicode
Cyrillic script in Unicode - Wikipedia
2 weeks ago - The Cyrillic block (U+0400 – U+04FF) was added to the Unicode Standard in October, 1991 with the release of version 1.0:
🌐
Charset
charset.org › charsets › iso-8859-5
Character sets: ISO-8859-5 (Cyrillic)
ISO-8859-5 (Cyrillic) is a 8-bit single-byte coded character set. The code page above has hexadecimal numbers, use this tool to convert to decimal: ... UTF-8 to Latin converter HTML special character converter URL/percent encode & decode Punycode IDN converter · Remove all accents Convert to uppercase Convert to lowercase Base64 encode & decode ROT13 cipher tool String length calculator ... UTF-8 code page ISO-8859-1 US-ASCII ISO Basic Latin More ...