[MPlayer-cvslog] r35961 - in trunk: Changelog input/input.c libvo/x11_common.c osdep/getch2.c osdep

Ingo Brückl ib at wupperonline.de
Fri Mar 15 02:08:09 CET 2013

> Author: reimar
> Date: Thu Mar 14 20:59:35 2013
> New Revision: 35961

> Log:
> Add support for binding any key in UTF-8 range.

> +    // Required so that XLookupString returns UTF-8
> +    if (!setlocale(LC_CTYPE, "C.UTF-8") && !setlocale(LC_CTYPE, "en_US.utf8"))
> +        mp_msg(MSGT_VO, MSGL_WARN, "Could not find a UTF-8 locale, some keys will no be handled.\n");

Just curious: Why doesn't a setlocale() call interfere here and are these the
two only UTF-8 locales allowed (what if someone only has de_DE.UTF-8, for


More information about the MPlayer-cvslog mailing list