Problem with polish characters

Hi, I have a small problem - fvwm doesn’t display polish characters in FvwmIconMan and window borders.

Here is screenshot:

http://img148.imageshack.us/my.php?image=fvwmproblemznakiqi5.jpg

I tried with other fonts, but I have the same problem.

What are your locale settings? What does:

PrintInfo Locale 2

Print to STDERR?

– Thomas Adam

i should type it on xterm or FvwmConsole?

FvwmConsole. If you’ve told FVWM to log to ~/.xsession-errors, it will log there, for instance.

– Thomas Adam

[code]fvwm info on locale:
locale: pl_PL.UTF-8, Modifier:
Default Charset: X: ISO8859-1, Iconv: ISO-8859-1, Bidi: No
XOM Charsets: ISO8859-1 ISO8859-1 JISX0208.1983-0 KSC5601.1987-0 GB2312.1980-0 JISX0201.1976-0 ISO10646-1
Number of loaded font: 3

  • Font number 0
    fvwm info:
    Name: Shadow=0 1 SE:xft:Gothic:pixelsize=12
    Cache count: 8
    Type: XftFont
    Charset: X: ISO8859-1, Iconv: ISO-8859-1, Bidi: No
    height: 14, ascent: 12, descent: 3
    shadow size: 0, shadow offset: 0, shadow direction:0

Xft info:
- Vertical font:
height: 14, ascent: 12, descent: 3, maw: 21
Pattern has 33 elts (size 48)
family: “DejaVu Sans”(s)
familylang: “en”(s)
style: “Book”(s)
stylelang: “en”(s)
slant: 0(i)(s)
weight: 80(i)(s)
width: 100(i)(s)
pixelsize: 12(f)(s)
foundry: “unknown”(s)
antialias: FcTrue(w)
hintstyle: 3(i)(w)
hinting: FcTrue(w)
verticallayout: FcFalse(s)
autohint: FcFalse(s)
globaladvance: FcTrue(s)
file: “/var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf”(s)
index: 0(i)(s)
outline: FcTrue(s)
scalable: FcTrue(s)
dpi: 91.0606(f)(s)
rgba: 5(i)(w)
scale: 1(f)(s)
minspace: FcFalse(s)
charset: 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
0002: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 008873ff
0003: ffffffff ffffffff f18effff 7c300007 ffffd7f0 fffffffb ffff7fff ffffffff
0004: ffffffff ffffffff ffffffff ffffffff ffffff7f ffffffff ffffffff ffffffff
0005: 000fffff fffe0000 fe7fffff fffffffe 000006ff ffff0000 ffff00cf 001f07ff
0006: 88201000 07fffffe 043fffff fe10ffff 012600ff 84208252 00205040 03ff0000
0007: 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff 073ff8ff
000e: 00000000 80000000 00000000 00000000 fef02596 3bffecae 33ff3f5f 00000000
0010: 00000000 00000000 00000000 00000000 00000000 ffffffff ffff003f 1fffffff
0014: effffefe ffbfffff fff7f7ff ffffffff ffffffff 3fffffff ffffffff fffff7ff
0015: ffff00ff 7fffffff fffdffff fff007ff 007ffc3f 0000ffff 40000000 00000002
0016: 00000000 00000000 000000c0 007fc000 00000000 00000000 00000000 00000000
001d: ffdfffff ffff7fcf efffffff 098007ff f8000020 ffffffff 000003f0 00000000
001e: ffffffff ffffffff ffffffff ffffffff 0fffffff ffffffff ffffffff 03ffffff
001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
0020: ffffffff fffffcff ffffffff fff3fc0f 001f7fff 003fffff 00c30000 00000000
0021: fffffbff ffffffff fff84bff ffffffff ffff001f ffffffff ffffffff ffffffff
0022: ffffffff ffffffff ffffffff ffffffff ffffffff fffcffff ffc03f7f ffffffff
0023: f303ffff 000019f3 00000000 24380000 f8100080 00007fff 0000c000 00000028
0024: 00000000 0000000c 00000000 000003ff 00000000 00000000 00000000 00000000
0025: 00000000 00000000 00000000 00000000 ffffffff ffffffff ffffffff ffffffff
0026: ffffffff ffffffff ffffffff ffffffff 1fffffff 0007ffff 00000000 00000000
0027: fffff3de fffffeff 7f47afff fffffffe ff1fffff 7ffeffff 00000000 ffff0fc1
0028: fffffffe ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
0029: 00000cc0 00000000 00000003 00000000 00000018 00000000 003fc000 0c000800
002a: 1ffff007 00008000 00000000 e0000000 ffffffff 07ffc001 00000000 06000000
002b: 07ffffff 0000000f 00000000 00000000 00000000 00000000 00000000 00000000
002c: 00000000 00000000 00000000 00f01fff 00000000 00000000 00000000 00000000
002d: 00000000 ffff0000 ffffffff 0000803f 00000000 00000000 00000000 00000000
00f0: 00000003 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00f2: 00000100 00000000 80000000 00000000 00000000 00000000 00000000 00000000
00f6: 00000000 00000000 00000000 00000000 00000000 00000000 00000020 00000000
00fb: e0f8007f 5f7fffff fffcffdb ffffffff c03ffc03 00000000 06000000 f0000300
00fe: 00000000 00000000 00000000 ffdf0000 ffffffff ffffffff ffffffff 9fffffff
00ff: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 20000000
01d3: ffffffff ffffffff 007fffff 00000000 00000000 00000000 00000000 00000000
01d5: 00000000 7b000000 fffdfc5f 00000fff 00000000 00000000 00000000 00000000
(s)

lang: aa|ab|af|ar|ast|ava|ay|az|az-ir|ba|bam|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fa|fi|fj|fo|fr|ful|fur|fy|ga|gd|gl|gn|gv|ha|haw|he|ho|hr|hu|hy|ia|ibo|id|ie|ik|io|is|it|iu|ka|kaa|ki|kk|kl|ku|ku-ir|kum|kv|kw|ky|la|lb|lez|ln|lo|lt|lv|mg|mh|mi|mk|mo|mt|nb|nds|nl|nn|no|ny|oc|om|os|pl|pt|rm|ro|ru|sah|sco|se|sel|sh|sk|sl|sm|sma|smj|smn|sms|so|sq|sr|sv|sw|tg|tk|tn|to|tr|ts|tt|tw|tyv|ug|uk|uz|ven|vi|vo|vot|wa|wen|wo|xh|yap|yi|yo|zu(s)
fontversion: 143523(i)(s)
capability: “otlayout:DFLT otlayout:arab otlayout:armn otlayout:cyrl otlayout:grek otlayout:hebr otlayout:lao otlayout:latn otlayout:nko otlayout:tfng”(s)
fontformat: “TrueType”(s)
embolden: FcFalse(s)
embeddedbitmap: FcTrue(s)
decorative: FcFalse(s)
render: FcTrue(s)
maxglyphmemory: 1048576(i)(s)

  • Rotated font 90: None
    • Rotated font 270: None
    • Rotated font 180: None
  • Font number 1
    fvwm info:
    Name: -artwiz-anorexia-----------iso8859-2
    Cache count: 1
    Type: FontStruct
    Charset: X: ISO8859-1, Iconv: ISO-8859-1, Bidi: No
    height: 10, ascent: 8, descent: 2
    shadow size: 0, shadow offset: 0, shadow direction:0
    X info:
    -artwiz-anorexia-medium-r-normal–11-110-75-75-p-90-ISO8859-1
  • Font number 2
    fvwm info:
    Name: --fixed-medium-r-semicondensed--13-------,--fixed-medium-r-normal--14-------,---medium-r-normal--16-------
    Cache count: 1
    Type: FontSet
    Charset: X: ISO8859-1, Iconv: ISO-8859-1, Bidi: No
    height: 16, ascent: 14, descent: 2
    shadow size: 0, shadow offset: 0, shadow direction:0
    X info:
    -misc-fixed-medium-r-semicondensed–13-100-100-100-c-60-iso8859-1
    -misc-fixed-medium-r-semicondensed–13-100-100-100-c-60-iso8859-1
    -misc-fixed-medium-r-normal–14-130-75-75-c-140-jisx0208.1983-0
    -daewoo-gothic-medium-r-normal–16-120-100-100-c-160-ksc5601.1987-0
    -isas-fangsong ti-medium-r-normal–16-160-72-72-c-160-gb2312.1980-0
    -misc-fixed-medium-r-normal–14-130-75-75-c-70-jisx0201.1976-0
    -misc-fixed-medium-r-semicondensed–13-120-75-75-c-60-iso10646-1
    [/code]

I have compiled fvwm 2.5.23, but also tried 2.5.18.

Fvwm is using iso8859-1 fonts when your locale is UTF-8. You have to change all the fonts in your fvwm config to something like:

Font "xft:Verdana:pixelsize=12:encoding=iso10646-1"

To be able to properly display non-english characters on the fvwm menus and title bars I’ve always needed to patch fvwm.

It has been fixed recently, though.

You might need to use a CVS build (or 2.5.25 is also right, I think) to get this properly working.

It’s in 2.5.25 – no need for patching. There’s no reason to run a version other than this one either. :wink:

– Thomas Adam