[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Locale support in xwpe
Michal Rudolf <mrudolf@mercury.ci.uw.edu.pl> sent me the following.
I thought it might be of interest to international users of xwpe. I
going to throw this change in the next version.
> Problem:
> Xwpe doesn't support locale, thus disallowing entered national characters
> from charsets others than ISO-8859-1.
>
> Fix:
> Add locale support to Xwpe. Those two lines should solve the problem:
> #include <locale.h>
> setlocale(LC_ALL, "");
> Both go to we_main.c. Include could be inserted anywhere in the beginning
> of file, setlocale call should be placed in main() function, as early as
> possible.
Dennis Payne
dulsi@identicalsoftware.com