Re: [dev] UTF8 text in wmii

From: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
Date: Sun, 27 Sep 2009 19:29:17 +0200

All your non-working pics are actually working.
Your browser is just setting the title in an url-encoded way.

Encoding
â– â–‚ â–ƒ â–„ â–… â–† â–‡ â–ˆ
(from utf8) gives
%E2%96%81%20%20%20%20%20%E2%96%82%20%20%20%20%20%20%20%E2%96%83%20%20%20%20%20%20%20%E2%96%84%20%20%20%20%20%20%20%E2%96%85%20%20%20%20%20%20%20%E2%96%86%20%20%20%20%20%20%20%E2%96%87%20%20%20%20%20%20%20%E2%96%88

 See <http://www.hypergurl.com/urlencode.html>.

On Sun, Sep 27, 2009 at 6:29 PM, Martin Swift <martin_AT_swift.is> wrote:
> Hi Yuval,
>
> On Sun, Sep 27, 2009 at 12:59:29PM +0300, Yuval Hager wrote:
>> Some non-latin characters are displayed garbled within wmii (windows titles,
>> tag names) - attached is Firefox window title I get. I tried using ucs
>> fonts (*-ISO10646-1), but then everything is garbled, even latin text.
>
> I'm able to get some decent results for most characters using
> something like
>  WMII_FONT=' -*-fixed-medium-r-normal-*-13-*-*-*-*-*-iso10646-1'
> [see attached: wmii-font_example-13-working.png]
>
> For the terminal I've had to use
>  -*-fixed-medium-r-normal-*-18-*-*-*-*-*-iso10646-1
> to get most characters to display, for example block elements such as
>  ■    ▂       ▃       ▄       ▅       ▆       ▇       █
>
> These, however, still don't show up in the status or title bars.
> [see attached: wmii-font_example-1?-nonwork.png]
>
>> I have no problem displaying non-latin text in applications, like xterm or
>> firefox.
>
> Do you know which font-string the terminal is run with? I've never
> been able to figure out these font lines properly to know which font,
> precisely is being used.
>
> Part of this could be fixed, but I don't know where wmii breaks down.
> Furthermore, I'm running wmii-3.6 which is well dated so if you're
> running a more up to date version you might be able to have all your
> problems fixed. Let's hope someone else who can give better help
> responds as well.
>
> Cheers,
> Martin
>
Received on Sun Sep 27 2009 - 17:29:17 UTC

This archive was generated by hypermail 2.2.0 : Sun Sep 27 2009 - 17:36:02 UTC