When parsing a binary file, I ran into the fact that there are Russian letters in the binary file and I don’t know how to parse them. in the first brackets it is written in decimal form what needs to be processed and in the second what should work. I do not understand to which table coding this applies.

(208 189 208 181 209 130) (none)

    1 answer 1

    This is very similar to UTF-8.

    Translate the first two bytes

    208 189 

    in binary form:

     11010000 10111101 

    Choose only significant bits:

      10000 111101 

    We translate them into hex:

     43D 

    We look at the UTF-8 symbol table, which character has the U+043D :

     н 

    The character matches the first character in the expected string.


    Description UTF-8 on Wikipedia .
    Unicode character table .

    • Always envied by people who are so able to manipulate bats - Respect :) - Barmaley