Dnia 02-01-2006 o 13:12:30 Borys Musielak <[EMAIL PROTECTED]> napisał:

[EMAIL PROTECTED] wrote:

Borys Musielak <[EMAIL PROTECTED]> wrote:

It seems that version: 1:2.5.14-2 full support for UTF-8 strings in window titles and fvwm menus[...]

You need many things:

1.- To compile fvwm with truetype and gtk2 support (not sure if gtk2 is strictly needed) 2.- A suitable font that includes all the characters that you need to use. 3.- Specify the encoding in the relevant sections. For example, the definition for the menu font would be something like:

MenuStyle "*" Font "xft:Bitstream Vera Sans:size=8:encoding=iso10646-1"

It worked, but the solution is really dirty.

I found out that:
export LANG=pl_PL.utf-8
solves the problem.

My previous setting was: LANG=pl_PL.UTF-8 (default for Polish Ubuntu)
So it seems that FVWM doesn't recognize this kind of encoding.

Strange - looks like some problem with locales. Sometimes glibc locales
not corresponds properly to X-lib ones. Properly there should be one source
of locales definition in the system. I don't know how it is done in Ubuntu
but it could be some system misconfiguration and not the fvwm bug.

Anyway fvwm should not use LANG for this purpose.
LANG is for app and menu localization but title of window could be in any language so using proper font and _NET_WM_NAME property should always work even without setting
any locale variables (which means C locale).

Regards
--
Adam Tlałka      mailto:[EMAIL PROTECTED]    ^v^ ^v^ ^v^
System  & Network Administration Group           ~~~~~~
Computer Center,  Gdańsk University of Technology, Poland
PGP public key:   finger [EMAIL PROTECTED]

Reply via email to