Synaptic cannot display Chinese description correctly

Bug #102228 reported by Qishuai Liu
2
Affects Status Importance Assigned to Milestone
synaptic
Fix Committed
Undecided
Unassigned
synaptic (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

If the package description contains Chinese characters, it cannot be displayed in the Description textview correctly.
This is because g_utf8_strlen() returns the character count, but gtk_text_buffer_insert() requires byte count.

Here is the patch:
http://lqs.buaa.googlepages.com/synaptic-chinese-description.patch

Michael Vogt (mvo)
Changed in synaptic:
status: Unconfirmed → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

THanks for your bugreport and your patch.

I have commited it to my bzr repository and it will be part of the next upload.

Cheers,
 Michael

Changed in synaptic:
status: Unconfirmed → Fix Committed
status: Confirmed → Fix Committed
Michael Vogt (mvo)
Changed in synaptic:
assignee: nobody → mvo
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.