Re: [wmii] WMII3 i18n

From: Anselm R. Garbe <garbeam_AT_wmii.de>
Date: Tue, 25 Apr 2006 08:23:09 +0200

On Tue, Apr 25, 2006 at 12:13:31AM +0400, Alexander Polakov wrote:
> On Mon, 24 Apr 2006 01:08:12 +0200
> "Anselm R. Garbe" <garbeam_AT_wmii.de> wrote:
>
> > On Sun, Apr 23, 2006 at 11:20:24PM +0200, Anselm R. Garbe wrote:
> > > Thus, don't expect UTF8 support in wmii-3.
> >
> > In hg tip I proceeded to give UTF8 support a try, I'd like to
> > know if the current version provides usable results for anyone.
> Doesn't work for me. I didn't forgot to change the LANG :)
>
> diff -Ncr wmii-20060414/liblitz/draw.c wmii-20060414_new/liblitz/draw.c
> *** wmii-20060414/liblitz/draw.c 2006-04-14 15:03:19.000000000 +0400
> --- wmii-20060414_new/liblitz/draw.c 2006-04-22 23:24:25.000000000 +0400
> ***************
> *** 102,107 ****
> --- 102,119 ----
> if (!d->data)
> return;
> + /* converting COMPOUND_TEXT to normal string in very quick, and very dirty way. */
> + unsigned char *dst=d->data, *src=dst;
> + while(*src){
> + if( src[0]==0x1b && src[1]==0x25 && src[2]==0x2f && (src[3]&0xf0)==0x30){
> + src+=6;
> + while(*src && *src!=0x02)src++;
> + src++;
> + }
> + *dst++ = *src++;
> + }
> + *dst=0;
> +

Thanks, I think this is missing, though I'll have a look to a
saner way.

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Tue Apr 25 2006 - 08:23:10 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:03:28 UTC