Skip to content

Tag: cyrillic

Hex to Cyrillic text

I have hex byte string like “D09FD0B5D180D0BDD0B8D0BA” this is “Перник”. For each letter of the Cyrillic alphabet, I need 2 bytes. For “П” I need “D0 9F”. If I use: My problem is how from hex “D0 9F” to get int value “1055”. Or how from “D09FD0B5D180D0BDD0B8D0BA” to convert to “Перник”. Answer You didn’t specified the encoding, however it appears