Jump to content

[SOLVED] Problem with UTF8 window title in Linux KWin


photo

Recommended Posts

Hi all,

 

Reproductions Steps

  • Want to assign an utf8 title ("Modo navegación") to my application window

  • In the initialization code I get the string from dictionary and call the following unigine script code:

//...

engine.app.setTitle(myUtf8title);
//...

  • The window title is not properly represented.

Note: The same dictionary string is used in UnigineGui and it's shown perfectly. In Windows the title is also right represented.

 

 

Bug seems to come from AppWindow.cpp :

 

int AppWindow::setTitle(const char *title) {

 // ...
 XStoreName(app->display,app->window,app->window_title);
 //..
}

 

Same problem from Mplayer and patch:

 

http://fixunix.com/m...-title-kde.html

http://lists.mplayer...May/068348.html

Link to comment
×
×
  • Create New...