El 21/may/2006 a las 16:45 -0300, thomas me decía: > On 5/21/06, Anselm R. Garbe <[EMAIL PROTECTED]> 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 - http://www.lugmen.org.ar/~conan/ Largo como pitada de sapo _______________________________________________ [email protected] mailing list http://wmii.de/cgi-bin/mailman/listinfo/wmii
