Posted October 28, 20204 yr 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?
October 28, 20204 yr 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.
October 29, 20204 yr 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. Edited October 29, 20204 yr by bolmin
October 31, 20204 yr What happens if you pass the bytes I posted above to the native? Does it render the text correctly? I am thinking your text conversion is the issue.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.