Re: [wmii] accented chars in title- and statusbars

From: Fernando Canizo <>
Date: Mon, 22 May 2006 02:30:39 -0300

El 21/may/2006 a las 16:45 -0300, thomas me deca:
> On 5/21/06, Anselm R. Garbe <> wrote:
> >Sadly the UTF8 handling in X is quite a mess. I uncommented the
> >Xutf8* parts, the release uses Xmb only. I noticed, that it is
> >impossible to get sane UTF8 handling, if one don't uses iconv,
> >which is on its way for wmii-4.
> I understand ; I have just read Denis' email, which explains how
> difficult it is. As a temporary solution, is it possible to have a
> script to replace a set of letters in the bars?
> , , => e
> => ss
> => o
> ... and so on.
> How could I do that - not writing the replacement part ;), but
> integrating the script to wmii. If wmii-4 is released next winter, it
> would be cool to have decent titles for the coming months...

What i do is filter the string by iconv, for example for the date (we
got a couple of days accented in spanish) so i do:

DATE=`date +"%A, %e/%b - %H:%M" | iconv -f utf-8 -t iso-8859-1`
xwrite /bar/z9_hour/data $DATE || exit

Fernando Canizo -
Largo como pitada de sapo
Received on Mon May 22 2006 - 07:12:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:06:12 UTC