Re: glitches with russian
- From: "Alex V. Kovirshin" <alexk ss rgs ru>
- To: Jungshik Shin <jshin mailaps org>
- Cc: gtk-i18n-list gnome org
- Subject: Re: glitches with russian
- Date: Mon, 15 Mar 2004 16:13:14 +0300
On Mon, Mar 15, 2004 at 08:17:51PM +0900, Jungshik Shin wrote:
> Alex V. Kovirshin wrote:
> >On Sat, Mar 13, 2004 at 11:31:18AM +0900, Jungshik Shin wrote:
>
> >I changed locale to ru_RU.UTF-8, but result is the same.
> >I played with fvwm2 configure options like: --enable-multibyte,
> >--disable-compound-text -- the result is the same.
> >I even tried WindowMaker - the same.
>
> Did you launch your window manager under ru_RU.UTF-8 locale as well?
> Anyway, can you run 'xprop' and click on Mozilla and gedit both with a
> Russian title? Please, do the following:
>
> $ xprop > xprop.out
> - click on Mozilla's title bar
> - click on gedit's title bar
>
> Check the values of 'WM_NAME(COMPOUND_TEXT)' and
> '_NET_WM_NAME(UTF8_STRING)'.
>
> Jungshik
>
Yeah, i exited fvwm2 and X Window, then from console as root ia did:
# localedef -f UTF-8 -i ru_RU ru_RU
then i logon as user and:
$ export LC_ALL=ru_RU.UTF-8
$ export LANG=ru_RU.UTF-8
$ xinit
then X Window and fvwm started, i started firefox...
i alsow tried wmaker - same behaviour.
Ok, i don't have gedit installed (im not using kde/gnome).
But i did two tests:
* locale ru_RU.KOI8-R
* locale ru_RU.UTF-8
In both locales i started firefox based on gtk1 and then based on gtk2,
made "xprop" and one two screenshots. And as i understand, it's not a WM
(fvwm) bug.
I include links to files:
UTF-8:
http://fenixhost.com/xprop.firefox.gtk1.utf8
http://fenixhost.com/xprop.firefox.gtk2.utf8
maybe interest screenshots, than show behaviour of gtk1
and gtk2 based firefox, under locale UTF-8:
http://fenixhost.com/firefox.gtk1.utf8.png
http://fenixhost.com/firefox.gtk2.utf8.png
KOI8-R:
http://fenixhost.com/xprop.firefox.gtk1.koi8r
http://fenixhost.com/xprop.firefox.gtk2.koi8r
As you can see, _NET_WM_NAME:
$ grep _NET_WM_NAME xprop.*
xprop.firefox.gtk1.koi8r:_NET_WM_NAME(UTF8_STRING) = 0xd0, 0xa4, 0xd0,
0xbe, 0xd1, 0x80, 0xd1, 0x83, 0xd0, 0xbc, 0x20, 0xd0, 0xb3, 0xd1, 0x80,
0xd1, 0x83, 0xd0, 0xbf, 0xd0, 0xbf, 0xd1, 0x8b, 0x20, 0x37, 0x33, 0x35,
0x34, 0x20, 0x2d, 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x20,
0x46, 0x69, 0x72, 0x65, 0x66, 0x6f, 0x78
xprop.firefox.gtk1.utf8:_NET_WM_NAME(UTF8_STRING) = 0xd0, 0xa4, 0xd0,
0xbe, 0xd1, 0x80, 0xd1, 0x83, 0xd0, 0xbc, 0x20, 0xd0, 0xb3, 0xd1, 0x80,
0xd1, 0x83, 0xd0, 0xbf, 0xd0, 0xbf, 0xd1, 0x8b, 0x20, 0x37, 0x33, 0x35,
0x34, 0x20, 0x2d, 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x20,
0x46, 0x69, 0x72, 0x65, 0x66, 0x6f, 0x78
xprop.firefox.gtk2.koi8r:_NET_WM_NAME(UTF8_STRING) = 0xd0, 0xa4, 0xd0,
0xbe, 0xd1, 0x80, 0xd1, 0x83, 0xd0, 0xbc, 0x20, 0xd0, 0xb3, 0xd1, 0x80,
0xd1, 0x83, 0xd0, 0xbf, 0xd0, 0xbf, 0xd1, 0x8b, 0x20, 0x37, 0x33, 0x35,
0x34, 0x20, 0x2d, 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x20,
0x46, 0x69, 0x72, 0x65, 0x66, 0x6f, 0x78
xprop.firefox.gtk2.utf8:_NET_WM_NAME(UTF8_STRING) = 0xd0, 0xa4, 0xd0,
0xbe, 0xd1, 0x80, 0xd1, 0x83, 0xd0, 0xbc, 0x20, 0xd0, 0xb3, 0xd1, 0x80,
0xd1, 0x83, 0xd0, 0xbf, 0xd0, 0xbf, 0xd1, 0x8b, 0x20, 0x37, 0x33, 0x35,
0x34, 0x20, 0x2d, 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x20,
0x46, 0x69, 0x72, 0x65, 0x66, 0x6f, 0x78
is the same in both gtk1 and gtk2 based builds of firefox in utf-8 or
koi8-r locales, but WM_NAME:
$ grep WM_NAME xprop.*|grep -v _NET
xprop.firefox.gtk1.koi8r:WM_NAME(COMPOUND_TEXT) = "æÏÒÕÍ ÇÒÕÐÐÙ 7354 -
Mozilla Firefox"
xprop.firefox.gtk1.utf8:WM_NAME(COMPOUND_TEXT) = "ФоÑÑм гÑÑппÑ
7354 - Mozilla Firefox"
xprop.firefox.gtk2.koi8r:WM_NAME(COMPOUND_TEXT) =
"\x{0424}\x{043E}\x{0440}\x{0443}\x{043C}
\x{0433}\x{0440}\x{0443}\x{043F}\x{043F}\x{044B} 7354 - Mozilla Firefox"
xprop.firefox.gtk2.utf8:WM_NAME(COMPOUND_TEXT) =
"\x{0424}\x{043E}\x{0440}\x{0443}\x{043C}
\x{0433}\x{0440}\x{0443}\x{043F}\x{043F}\x{044B} 7354 - Mozilla Firefox"
differ in gtk1 and gtk2...I guess it could be a firefox gtk2 specific
bug.
What gtk2 app, that not needs whole gnome building, i coule use for testing?
--
Alex V. Kovirshin <alexk ss rgs ru>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]