Menu

#61 UTF8 titles

open
nobody
None
5
2015-05-08
2013-05-06
No

Skype's title is 'username - Skype"b', while it should end in 'TM'.

xprop suggests skupe has a valid _NET_WM_NAME of type UTF8_STRING and a valid WM_NAME of type COMPOUND_TEXT.

Discussion

  • Arnout Engelen

    Arnout Engelen - 2014-03-18

    Currently de/font.c is using XmbDrawString to draw the title. When setting CF_DE_USE_XUTF8, it uses Xutf8DrawString instead, which fails in the same way.

    xfontsel does not appear to use XmbDrawString/Xutf8DrawString, but instead performs some operations on the string and then passing it on to XDrawString16. It's still unclear to me how that decides which font to use, though.

    work in progress in the utf8titles branch.

     
  • Arnout Engelen

    Arnout Engelen - 2014-03-18

    what xfontsel does seems equivalent to what we do when an xfontstruct is used rather than an xfontset

     
  • Arnout Engelen

    Arnout Engelen - 2014-03-18

    using a font that is explicitly 'iso10646-1' will cause notion to use fontstruct rather than set, and makes the utf-8 title work. interesting...

     
  • tot-to

    tot-to - 2015-05-08

    In my case if a titile contains any non-ASCII symbol, then the whole title is replaced by 3 question marks, so I have titles like:
    ???
    ???<1>
    ???<2>
    and so on.

    Do you think it's the same issue as the described above?

     

Log in to post a comment.