Jump to content

Featured Replies

Posted

I was trying to display cyrlic characters on screen either via the display_text native or by prompts but they come out as set of question marks. I also tried initalizing the char values like that: L"cyrlic characters" because from what I remember it had something to do with using the unicode simbols, but it made the characters to be random stuff like: "@#%$%^!(*". Any ideas how to do that?

The game definitely supports it via natives, I just tested it. I fed it the following string: Test Лорем ипсум

 

It resulted in these bytes being passed to the actual game function:

54 65 73 74 20 D0 9B D0 BE D1 80 D0 B5 D0 BC 20 D0 B8 D0 BF D1 81 D1 83 D0 BC

 

Make sure you are converting your string to the proper UTF8 representation when passing it to the game.

  • Author

I tried to initialize it as const wchar_t but then it isn't displayed at all. I attached the code that I am using for testing.

 

Screenshot_11.png

Edited by bolmin

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...