Quote:
Originally Posted by Razor12911
$05E2 is not Cyrillic, it's Hebrew
Chr accepts byte value and returns ASCII value, $0532 is a Word value
You must use #$???? For UTF-8 format, example C := #$05E2
|
Yes, I ended up putting the non-Cyrillic example, but it has the same meaning.
They are Word values.
I know that chr only supports Byte and these type of characters are word type.
But as in the script example, I need to convert a hexadecimal string read from the inno setup language file and convert it to a string (text).
Code:
S1 := '<0420><0443><0441><0441><043A><0438><0439>';
From this string above I need to return: "
Русский"
I want to do this using only API or in the script itself if there is im way to do this without external DLL.
Please take a look at the script.