View | Details | Raw Unified | Return to bug 188697
Collapse All | Expand All

(-)libvo/x11_common.c (-1 / +1 lines)
Lines 430-436 Link Here
430
    }
430
    }
431
431
432
    // Required so that XLookupString returns UTF-8
432
    // Required so that XLookupString returns UTF-8
433
    if (!setlocale(LC_CTYPE, "C.UTF-8") && !setlocale(LC_CTYPE, "en_US.utf8"))
433
    if (!setlocale(LC_CTYPE, "en_US.UTF-8"))
434
        mp_msg(MSGT_VO, MSGL_WARN, "Could not find a UTF-8 locale, some keys will not be handled.\n");
434
        mp_msg(MSGT_VO, MSGL_WARN, "Could not find a UTF-8 locale, some keys will not be handled.\n");
435
    XSetErrorHandler(x11_errorhandler);
435
    XSetErrorHandler(x11_errorhandler);

Return to bug 188697