On Tue, Apr 28, 2009 at 22:29:38 +0200, Soeren Sandmann wrote:

> +static int
> +is_utf8_locale (void)
> +{
> +    char *locale = getenv ("LANG");
> +
> +    return locale && strstr (locale, "UTF-8");
> +}
> +

ewww.  nl_langinfo(LC_CTYPE), please.

Cheers,
Julien
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to