#133 closed defect (fixed)
Wrong encoding in window title bars
Reported by: | Alex | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | client | Version: | 0.3.x |
Keywords: | Cc: |
Description
Since version 0.2.0 the text in window titles are not valid if it contains non-Latin characters. Rolling back to version 0.1.0 allows you to get rid of the problem.
Tested on Debian Squeeze (version 0.1.0 from debian-backports version 0.2.0 or higher of the http://winswitch.org/downloads/debian-repository.html) and gentoo linux.
The report prepared with the assistance tanslate.google.com
Attachments (1)
Change History (8)
comment:1 Changed 9 years ago by
Component: | server → client |
---|
comment:3 Changed 9 years ago by
Status: | new → accepted |
---|
Will fix and release 0.3.2, can you provide a test string/command I can test with?
How can I make sure that your use-case is solved?
Changed 9 years ago by
Attachment: | set_caption.py added |
---|
comment:4 Changed 9 years ago by
I am pleased to check the patch solve this problem.
I propose a simple script on pygtk, which allows output to a window caption arbitrary label. Entering non-ASCII characters, as the title of the window shows the problem.
comment:5 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
fixed in r880
There's a test script you can use to easily change the window title and exercise this metadata code: test_window_title.py
Many thanks for the thorough bug report!
comment:7 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/133
On both systems I use python-2.6. The problem in the code xpra-client before adding the code for python-three present the following code:
In version 0.2.0 and later, the following code:
Where u () is defined as:
A simple hack solve the problem:
But this is not the solution!