drag and drop doesn't copy chinese characters correctly

Bug #164845 reported by Miguel Diago on 2007-11-24
Affects Status Importance Assigned to Milestone
xulrunner-1.9 (Ubuntu)

Bug Description

Binary package hint: gedit

(Related to bug #58458)

In Gutsy:
1- Select the following text in Firefox: 中文
2- Drag and it to a Gedit window.
3- Notice that strange characters appear.

And I am not very sure if this is a general Gtk bug, because actually I can drag the chinese characters from Firefox to an Evolution or OpenOffice window.

Also, notice that if I drag the characters from a KDE application like Kate they are correctly represented in Gedit.

Emmet Hikory (persia) wrote :

I can replicate this bug. Note that copy & paste to gedit seems to work fine, it's just drag & drop that doesn't. Further, once the characters are represented correctly in gedit, they can be dragged and dropped to other the Epiphany location bar, Terminal, and Pidgin without difficulties. Further, dragging from Epiphany to Pidgin to gedit works as expected. Within Epihany, dragging '中文' to a textarea works, but dragging from Pidgin or gedit results in '\u4e2d\u6587'.

Changed in gedit:
importance: Undecided → Low
status: New → Confirmed
Sebastien Bacher (seb128) wrote :

seems to be a gtk issue, doing a dnd to the gtk-demo textview example behaves the same way

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
Jiahua Huang (huangjiahua) wrote :

I can replicate this bug.

Liu Qishuai (lqs) wrote :

The text '中文' is encoded as utf-8 and then incorrectly decoded as iso-8859-1.

Sebastien Bacher (seb128) wrote :

the issue seems to be a firefox or xulrunner one rather, dnd those chars between standard gtk applications works correctly, the only issue is when firefox is used, it probably sets the encoding wrongly or something

Changed in gtk+2.0:
assignee: desktop-bugs → nobody
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in xulrunner-1.9 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers