Jump to content
  • Advertisement
Sign in to follow this  
polyfrag

International text input SDL2

This topic is 1522 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I use a program called Softario Typus to phonetically transiliterate text into Russian. 

typus.jpg 

Usually, when I type z ?nd then h into a native text field, I see ? and then it dissappears and a ? appears in its place. 

But in my SDL2 program I get everything indiscriminately. I get the resulting text ??. First is unicode #1079 then #1078 in SDL_TEXTINPUT. But SDL_TEXTEDITING doesn't get sent at all or just once in the very beginning. 

How does Typus work with the system and how can I make it work with SDL2? 

I also have some questions about inputting KCJ text.

Share this post


Link to post
Share on other sites
Advertisement

It's probably that the input layer between SDL and the OS runtime does not have the proper hooks for IM support, or else that particular IM does not use the hooks in exactly the right way.

Turns out IM support is rather difficult to get right and usually requires full and complete cooperation between the OS, the display manager, the application or toolkit, and the IM itself. There are a lot of possible points of failure.  Someone probably messed up.

Edited by Bregma

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!