Hi!
I've found that 5456239bb8ad braked cyrillic titles for me:
- if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
+ if(!XSupportsLocale())
fprintf(stderr, "warning: no locale support\n");
Now non-latin characters are just skipped as if they are absant at all.
Anselm, why have you removed the setlocale() call?
setlocale man page says:
If locale is "", each part of the locale that should be modified is set
**according to the environment variables**.
...
On startup of the main program, the portable "C" locale is selected as
default. A program may be made **portable to all locales** by calling
setlocale(LC_ALL, "") after program initialization
...
LC_CTYPE
for regular expression matching, character classification, converā
sion, case-sensitive comparison, and **wide character functions**.
I believe that this commit should be backouted.
--
Hoc est simplicissimum!
maxim.vuets.name