[SDL] SDL 1.3: UTF-8 vs UTF-16 vs UTF-32?

Daniel K. O. danielko.listas at gmail.com
Fri Feb 3 20:50:51 PST 2006


Sam Lantinga wrote:
> ItÂs more than that - certain combinations of key presses can produce a single
> phrase which can be displayed as a string to the user, and then further input
> can modify that phrase before completing it.
>   
Shouldn't text input be handled on a higher level? (higher than key events)
Maybe "SDL_IME" or "SDL_TextInput" (working on top of SDL, together with 
SDL_ttf)?

Or will SDL 1.3 provide some basic user interface functionality? If not, 
I think those special events should just be forwarded to another library 
that will collect/manage the input information to produce text input - 
not affecting the usual "key press event", just creating a special event 
that could be captured somewhere else to build the string the user is 
trying to input.



PS: BTW, now that I mentioned GTK+, I think SDL (or SDL_ttf) could use 
Pango to do text layout. Those guys already made a lot of effort to make 
the text look right in all languages.

PS2: sorry, I'm new to this list, is there a roadmap for SDL 1.3 besides 
the TODO in the CVS?

---
Daniel K. O.





More information about the SDL mailing list