Jump to content

Displaying unicode characters


bolmin
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...