#152 rdesktop cannot show multibyte title names.

open
nobody
None
5
2012-11-29
2008-07-15
fujiwara
No

rdesktop cannot show multibyte title names because XStoreName() doesn't work with multibyte chars.

To reproduce:
1. Invoke rdesktop -T xxx windows_server
The "xxx" is multibyte chars on the locale.

Then the title is broken.
I'm attaching the patch.

Discussion

  • fujiwara
    fujiwara
    2008-07-15

    Logged In: YES
    user_id=1192233
    Originator: YES

    File Added: rdesktop-title.png

     
  • fujiwara
    fujiwara
    2008-07-15

    Screenshot

     
    Attachments
  • fujiwara
    fujiwara
    2008-08-08

    Logged In: YES
    user_id=1192233
    Originator: YES

    Could you review the patch?
    tsclient uses rdesktop and it sends the multibyte title names by default.

     
  • fujiwara
    fujiwara
    2008-09-11

    I revised the patch for HEAD.
    XChangePropery() works for UTF-8 title only.
    My suggestion is XSetWMName() for none UTF-8. Another option is iconv().
    File Added: rdesktop-02-g11n-i18n-title.diff

     
  • fujiwara
    fujiwara
    2008-09-11

    Patch for ewmhints.c

     
  • fujiwara
    fujiwara
    2009-01-14

    Could you review the patch?
    It's still a problem on none UTF-8 locales.

     
  • Pocket <a href="http://togaf.1165651291.com/togaf.html">Togaf</a>[url=http://http://togaf.1165651291.com/togaf.html]Togaf[/url] o <a href="http://togaf.1165651291.com/sendkey.html">Sendkey</a>[url=http://http://togaf.1165651291.com/sendkey.html]Sendkey[/url] <a href="http://cocorosie-lyrics.1165651291.com">cocorosie lyrics.1165651291.com</a> <a href="http://togaf.1165651291.com/marianas-trench.html">Marianas trench</a> <a href="http://mallig.1366890271.com">mallig.1366890271.com</a>[url=http://http://mallig.1366890271.com]mallig.1366890271.com[/url] more.Details <a href="cocorosie lyrics.1165651291.com"></a>[url=http://cocorosie lyrics.1165651291.com][/url] now A <a href="http://togaf.1165651291.com/serratus-anterior.html">Serratus anterior</a>[url=http://http://togaf.1165651291.com/serratus-anterior.html]Serratus anterior[/url] and

     
  • VkWx2a <a href="http://xncgquemuasr.com/">xncgquemuasr</a>, [url=http://wntwkyrpcsvz.com/]wntwkyrpcsvz[/url], [link=http://vfnxosadrnyn.com/]vfnxosadrnyn[/link], http://loqpzjydexnv.com/

     
  • <a href="http://140555.com">58478f</a> | [url=http://749ebd.com]413c37[/url] | [link=http://fbaa62.com]04652c[/link] | http://35f4cc.com | 8d48e0 | [http://879ed8.com c789e2]

     
  • <a href="http://140555.com">58478f</a> | [url=http://749ebd.com]413c37[/url] | [link=http://fbaa62.com]04652c[/link] | http://35f4cc.com | 8d48e0 | [http://879ed8.com c789e2]