User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061111 Firefox/2.0 Build Identifier: If I open in the browser a site such as: - ja.wikipedia.org - cn.yahoo.com - www.bbc.co.uk/russian or run, for example, urxvt -title メインページ, then in the window title bar squares are displayed instead of non-latin characters. I get the same result with: - fluxbox-0.9.15.1-r1 - fluxbox-1.0_rc2-r2 - fluxbox from svn (rev. 4602) Reproducible: Always Steps to Reproduce: 1. rm -rf ~/.fluxbox 2. install fluxbox (either from portage or svn) 3. edit ~/.fluxbox/startup 4. startx 5. open a window with some non-latin character in the title Actual Results: In the window title bar squares are displayed instead of non-latin characters. Expected Results: Fluxbox should display proper characters in the window title bar. # emerge --info Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.15-suspend2-r4 i686) ================================================================= System uname: 2.6.15-suspend2-r4 i686 AMD Sempron(tm) 2600+ Gentoo Base System version 1.12.5 Last Sync: Wed, 01 Nov 2006 11:30:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow alsa bash-completion berkdb bitmap-fonts cjk cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ minimal mmx ncurses nls nptl nptlonly pcre perl ppds pppd python readline reflection session spl sse ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS $ cat /etc/env.d/02locale LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" # locale -a C en_US en_US.utf8 POSIX # locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 $ cat ~/.xinitrc exec startfluxbox (for fluxbox from gentoo) $ cat .fluxbox/startup exec /usr/bin/fluxbox (for fluxbox from svn) $ cat .fluxbox/startup exec /usr/local/bin/fluxbox [ebuild N ] x11-wm/fluxbox-1.0_rc2-r2 USE="nls truetype -disableslit -disabletoolbar -gnome -imlib -kde -xinerama" 0 kB [ebuild N ] x11-wm/fluxbox-0.9.15.1-r1 USE="nls truetype -disableslit -disabletoolbar -gnome -imlib -kde -xinerama" 0 kB
Created attachment 101726 [details] screenshot screenshot added.
What font are you using in your current style? To get non-latin characters in the titlebar, your style has to use a font that contains the appropriate non-latin characters. For example, if my style has: *.font: sans-10 (Which on my system maps to 'Bitream Vera Sans') and I take firefox to somewhere strange, I get the boxes in my fluxbox titlebar, just like you reported. But, if my style has: *.font: Arial-10 I get all the odd Russian characters you could ever want. To see what font is actually used in case the one in your style isn't found, run: $ fc-match SomeFont-10 Vera.ttf: "Bitstream Vera Sans" "Roman" With the advent of fluxbox-0.9.15, you can set up a style overlay to override all the fonts in all styles. For details, see http://fluxbox-wiki.org/index.php/Overlay
Marking "invalid" since it's not really a bug, just a configuration issue :)
thank you, Jim. I just want to point out that I partially fixed this problem by emerging dejavu fonts and using: *font: dejavusans-11:style=book now I can see russian, greek, hebrew, arabic, ... glyphs, but still no chinese, japanese, korean, ... anyway, now it's better than with bitstream vera fonts :)