ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] [PATCH] if compiling with xft, hardcode encoding to utf-8


From: Bernhard R. Link
Subject: Re: [RP] [PATCH] if compiling with xft, hardcode encoding to utf-8
Date: Sun, 1 Jul 2012 13:39:43 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

* Jérémie Courrèges-Anglas <address@hidden> [120630 18:39]:
> > Unlike the X primitives, Xft does not seem to support
> > utf-8 when drawing a string encoded according to the current
> > locale. So if compiling with Xft, hardcode the encoding to be
> > used to utf-8.
>
> This has the undesirable effect to break existing setups.  People using
> for example latin1 wouldn't be able to input and echo latin1 characters.
> I'm no unicode expert, but if ratpoison has to get unicode support, then
> it should probably do it correctly, right?

without Xft fonts, UTF-8 works correctly. With Xft one has to use a
single-character encoding or use utf8. do you know any way to know in
which case libX11 currently is so one can call the correct Xft function?

        Bernhard R. Link



reply via email to

[Prev in Thread] Current Thread [Next in Thread]