On Sat, Jul 28, 2007 at 03:41:18AM +0200, Jesús Guerrero wrote:
> Hello,
> 
> Some of you (those not using iso8859-1/15) might know that vanilla Fvwm is not
> capable of showing accents and such things on the menus. This has come a 
> number
> of times on forums.gentoo.org and fvwm.lair.be. Probably, in many more places.
> http://fvwm.lair.be/viewtopic.php?f=6&t=1402&hilit=
> http://forums.gentoo.org/viewtopic-p-4047950-highlight-.html?sid=3025a66762f485e4d916bb8c3ae08e66
> 
> Just to put a couple of examples, though I am sure I have seen this question
> much more times, and answered it a lot of times via IM or whatever.
> 
> I found a bug that someone reported some time ago as well:
> http://www.fvwm.org/cgi-bin/fvwm-bug/incoming?id=1647;page=4;user=guest
> 
> Which basically, uses the same patch I do, and that is attached to this mail.
> 
> I haven't been able to find any reason why this patch has not been merged,
> I am not completely sure, since I have an utf8'ized system, and can't try,
> but I have some reports of this working on iso8859 systems as well.
> 
> The patch seems to work ok, and it is the only way I can correctly spell my
> native language on FVWM. If there is something obvious that I am missing, just
> let me know.

See below.

> --- libs/FlocaleCharset.c     2006-12-09 19:43:39.000000000 +0100
> +++ libs/FlocaleCharset.c     2006-12-09 19:46:38.000000000 +0100
> @@ -522,7 +522,7 @@
>       }
>  
>       if (FLCXOMCharsetList_num > 0 && FLCXOMCharsetList[0])
> -             FLCXOMCharset = FLCXOMCharsetList[0];
> +             FLCXOMCharset = FLCXOMCharsetList[FLCXOMCharsetList_num - 1];
>  #endif
>  }

What is special about the last entry in the charset list?  Or are
we just picking some random entry and hope that it works?

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, dominik.vogt (at) gmx.de

Attachment: signature.asc
Description: Digital signature

Reply via email to