[SDL] A tiny SDL Android feature request

Alexey Petruchik i100500 at gmail.com
Sun Mar 31 10:08:29 PDT 2013

SDL version: SDL-2.0.0-6940
OS: OpenSUSE 12.2

I encountered crash issue when initializing SDL if the $LANG is set to zh_CN.UTF-8 or something alike.

The reason is the call of XOpenIM() in src/video/x11/SDL_x11video.c:505 is not necessaryly successful if xim engine is not setup properly for zh_CN locale. The direct consequence is process crashes on XCreateIC() in src/video/x11/SDL_x11window.c:225.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130315/37d0a314/attachment-0009.htm>

More information about the SDL mailing list