UTF national characters in window title.

asked 2014-05-15 08:01:34 +0000

bonidydy gravatar image

updated 2014-06-27 12:50:15 +0000

Hi,

There is certainly something wrong in the way i3 handles windows titles. There are applications which work properly - like urxvt or xterm with "utf8Title" resource set and such which do not - like mupdf or libreoffice. You can reproduce it by opening a file containing in its name characters like "ążźłüäöß". Using xprop you can check that WM_NAME property is set to a right utf-8 string (_NET_WM_NAME is rarely used). Also mupdf developer swears he handles the properties the right way and it must be a problem of the WM. And indeed. I installed openbox and there all the titles are properly shown. What do you think?

edit retag flag offensive close merge delete

Comments

Could you add the line from your configuration in which you set `font`, please? Also, are you sure that the font supports the characters in question?

Adaephon gravatar imageAdaephon ( 2014-05-16 07:48:20 +0000 )edit

The configuration is "font pango:Droid Sans 9". Droid has all the glyphs needed.

bonidydy gravatar imagebonidydy ( 2014-05-16 20:35:58 +0000 )edit

I did some testing on my Ubuntu machine, `font pango: Terminus 9` and latest i3. I have no problems with URxvt, libreOffice or XTerm (with utf8Titles) using greek and assorted math symbols. The existance of the XTerm option leads me to believe that it is an issue of the application used not of i3.

Adaephon gravatar imageAdaephon ( 2014-06-27 13:06:06 +0000 )edit

This is what I also believed till I tested the same applications with openbox :-). For ALL of them openbox shows the title properly. I use the same font and the same test files.

bonidydy gravatar imagebonidydy ( 2014-06-27 13:34:24 +0000 )edit

Do you use i3 4.8? If so, it leaves mostly the underlying libraries as difference. Which distribution are you using?

Adaephon gravatar imageAdaephon ( 2014-06-29 05:19:11 +0000 )edit