[SDL] how to input international character with SDL ?

Jjgod Jiang gzjjgod at gmail.com
Mon Jul 5 20:52:02 PDT 2010


On Tue, Jul 6, 2010 at 9:49 AM, guoshimin <guoshimin57 at gmail.com> wrote:
> is it mean that SDL dont directly support international character which require more than one keypress to enter a single unicode value ? i find SDL-IM is doing this work (http://sdl-im.csie.net). it modify SDL so that can make it support international character input. but still has some bug. they hope SDL developer can build it into SDL. but SDL still haven't do that yet.

As people previously replied, this functionality largely depends on
your platform. If you are only targeting Windows, then you may want to
support this with a Windows API directly (say, you can create a text
box with Win32 API on a external window, send the text entered to SDL
afterwards). If you are using Mac OS X, then SDL 1.3 has built-in
support for this.

- Jiang



More information about the SDL mailing list