sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

utf-8 is broken #543

Open sillysloft opened 18 years ago

sillysloft commented 18 years ago

In Fluxbox' window titles, I'm having a strange display of unicode characters. I am runnig Fluxbox on Gentoo with NLS disabled.

This bug has been reported before to http://bugs.gentoo.org/show\_bug.cgi?id=100794

Please have a look at my screenshot. http://home.arcor.de/plsdontreply/fluxbox\_utf8\_bug.jpg This is Mozilla-Firefox running in a Fluxbox-0.9.14 window.

Firefox has two tabstrips, the left one properly displaying the arrows. The window title however displays some rectangles instead of the arrows.

When I change from Fluxbox to using Xsession instead then most characters are displaying correctly, even in the titlebar. http://home.arcor.de/plsdontreply/xsession\_utf8\_bug.png

My settings in "/etc/env.d/02locales" is very simple: LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8"

To reproduce, please visit http://home.arcor.de/plsdontreply/arrowstitle.html

Reported by: *anonymous

sillysloft commented 18 years ago

Logged In: YES user_id=1101187

yes, this bug has been reported several times now already, _even_ on sf.net:

#1237760 #1202387

and some more to find. not a trivial problem.

Original comment by: akir

sillysloft commented 18 years ago

Logged In: NO

Hi :)

I've come over this bug too :( Sorry to hear there's no easy solution :(

Maybe the ebuild in this Gentoo bug can be of any help?

http://bugs.gentoo.org/show\_bug.cgi?id=96106

Regards, Crocodil

Original comment by: nobody

sillysloft commented 18 years ago

Logged In: YES user_id=603593

Hi,

I think this should *in theory* work now.

It certainly seems to work given the right font in Xfld form (-*-blah-foo-*-*...)

For some reason, it doesn't want to work for me with Xft fonts. Nor can I find any other *box WMs that do it...

It works in metacity, but it renders the fonts using pango which seems to do glyph based rendering instead of string... I don't fully understand what it does yet, or why the XftDrawString functions don't seem to work...

But that's mainly for your arrows example. Most regular text in your native encoding will probably work properly now if you use svn.

Any chance of getting feedback?

Cheers,

- Simon

Original comment by: rathnor

sillysloft commented 18 years ago

Logged In: YES user_id=603593

Good enough for me...

Down to a "choose the right font" issue now.

Original comment by: rathnor

sillysloft commented 18 years ago

Original comment by: rathnor