I have some text like \xd0\x9d\xd0\xb0\xd1\x88\xd0\xb5 which I want to display as normal text (I guess it's utf-8 literal and Cyrillic). I tried it using xammp on windows:
<?php
header("Content-Type: text/html; charset=UTF-8");
header("Content-Language: ru");
print('\xd0\x9d\xd0\xb0\xd1\x88\xd0\xb5');
?>
How can I do this using AS3 or any other program on Windows?
Use double quotes instead of single quotes.
This code:
<?php
header("Content-Type: text/html; charset=UTF-8");
header("Content-Language: ru");
print("\xd0\x9d\xd0\xb0\xd1\x88\xd0\xb5");
?>
Returns this:
Наше