There might be a solution to some of the font loading issues when UTF-8 
is enabled: append ",*" to the font name string. (Possibly also
CF_FALLBACK_FONT depending on your problems.) XCreateFontSet wants to
fail to load the font if the locale specifies some character sets for
which there exist no characters in the font and allowing it to load
some font to display those characters should help. You still need to
have some fonts installed where all the characters required by the
locale can be found. If this seems to work, I'll append the string
automatic. 

This fix does not help if your locale settings are fscked up and fall
back POSIX/C. The correct form of LC_CTYPE (or whatever) is

        [EMAIL PROTECTED], e.g.
        [EMAIL PROTECTED]

and at least __at times X seems to require the codeset part__.

Ion should probably detect if setlocale returns "POSIX" or "C" in
addition to NULL and fall back to using non-fontset routines in such
a case because the fontset based routines do not work sanely in such
a locale. But, I'm ATM considering if I should move to generic multibyte
support and use widechars for the line editor and title shortening as
that data needs to be allocated anyway. But regcomp/regexec and evil
statefull encodings are a problem. But at least I could get rid of
the iconv kludge even if only utf8 and other sane encodings were
officially supported...

-- 
Tuomo

Reply via email to