It's all about the answers!

Ask a question

Copy/Paste results in Chinese on Ubuntu 12.04


Barys Dubauski (19148) | asked Nov 26 '12, 5:31 p.m.
JAZZ DEVELOPER
I'm using RTC Client 4.0.1 on Ubuntu 12.04. 

When I select a text in a web browser and copy it to clipboard (e.g. "https://jazz.net/forum/questions/ask/") and then paste it directly into "Comments" section of a work item I get Chinese looking text (e.g. 洼瑥⁡瑨灴攭畱癩∽潣瑮湥⵴祴数•潣瑮湥㵴琢硥⽴瑨汭※档牡敳㵴瑵ⵦ∸㰾⁡牨晥∽瑨灴㩳⼯慪空渮瑥是牯浵焯敵瑳潩獮愯歳∯栾瑴獰⼺樯穡⹺敮⽴潦畲⽭畱獥楴湯⽳獡⽫⼼㹡). 

Pasting the same contents into a system Text Editor works correctly and I see expected text (not the Chinese). 

Is this a known problem with Ubuntu, or with Eclipse or something wrong with RTC client?

I've not seen this copy/paste behavior with any other program in my system.

Thank you

Accepted answer


permanent link
Filip Wieladek (30413) | answered Nov 27 '12, 2:30 a.m.
This was an issue with Eclipse which was not reading the BOM of the clipboard correctly and would produce the Chinese characters (Eclipse bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=376589

This has been fixed in Eclipse 3.8. Please note that you should use Eclipse 3.8.1 as there is another copy/paste related bug in Eclipse 3.8.0. (https://bugs.eclipse.org/bugs/show_bug.cgi?id=384381)

Note: Unfortunately, there is still another bug lingering in Eclipse 3.8.1 which will make the resolved work items in the My Work view hardly readable: https://bugs.eclipse.org/bugs/show_bug.cgi?id=392498
Barys Dubauski selected this answer as the correct answer

Comments
Barys Dubauski commented Dec 03 '12, 2:25 a.m. | edited Dec 03 '12, 2:26 a.m.
JAZZ DEVELOPER

Thank you Filip. While digging through your bugzilla links I found that copying from Firefox browser (unlike Chrome) doesn't cause the clipboard bug on 3.6 eclipse based RTC 4.0 client.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.