THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#974 - Window title is replaced by "invalid" if minimized and contains 
national characters
User who did this - Uli Schlachter (psychon)

----------
jd: Instead I thought about digging into other WMs.

i3: Seems to just ignore the encoding and hope for the best.
fluxbox: Only uses WM_NAME (XGetWMName), but at least this then does some magic 
on that string if the property's type isn't STRING.
First it sends the string through XmbTextPropertyToTextList() and then the result of that 
goes through some magic. I think that magic boils down to iconv_open("UTF-8", 
nl_langinfo(CODESET)), but thanks to various abstraction layers, I'm not sure. If 
XmbTextPropertyToTextList() fails, it assumes latin-1 and sends the string through iconv, 
too.

Various bits of magic in src/FbTk/FbString.cc. The WM_NAME query is done in 
src/Xutil.cc, function Xutil::getWMName().

Now let's look at draw.c, draw_iso2utf8(). Awesome does the same thing that 
fluxbox does, but skips XmbTextPropertyToTextList(). Also, awesome is trying to 
guess whether it has to run stuff through iconv and it also does so for strings 
which already are in unicode. Bad.
----------

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=974#comment2922

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [email protected].

Reply via email to