Sign in to follow this  

International text input SDL2

This topic is 1272 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

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

This topic is 1272 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this