stepb / urxvt-tabbedex

Tabbed plugin for rxvt-unicode with many enhancements
75 stars 54 forks source link

Fix displaying non-latin characters in tab title #5

Closed xanf closed 12 years ago

xanf commented 13 years ago

Right now tabbedex is unable to display non-latin characters in tab title, since it is accessing WM_NAME property, which contains invalid representation of non-latin characters.

According to http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html :

_NET_WM_NAME, UTF8_STRING

The Client SHOULD set this to the title of the window in UTF-8 encoding. If set, the Window Manager should use this in preference to WM_NAME.

I'm not sure if there are still any app, which do not set _NET_WM_NAME (I can't find it).

If required we could provide a fallback to WM_NAME but right now this fixes behaviour for non-latin characters for all of my system