bolmin 33 Posted October 28, 2020 Share Posted October 28, 2020 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? Quote Link to comment Share on other sites More sharing options...
LMS 674 Posted October 28, 2020 Share Posted October 28, 2020 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. Quote Link to comment Share on other sites More sharing options...
bolmin 33 Posted October 29, 2020 Author Share Posted October 29, 2020 (edited) 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, 2020 by bolmin Quote Link to comment Share on other sites More sharing options...
AndreyRodionov 0 Posted October 31, 2020 Share Posted October 31, 2020 Yes. We tried to translate mods, but got question marks. Quote Link to comment Share on other sites More sharing options...
LMS 674 Posted October 31, 2020 Share Posted October 31, 2020 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.