pyqt4 string conversion broken for utf8, breaking translation

Bug #1299881 reported by Volkan Gezer
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-qt4 (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

When you change the installation language into Turkish, there are some strange characters replaced by special Turkish letters.

Attached the image.

Revision history for this message
Volkan Gezer (volkangezer) wrote :
description: updated
tags: added: i18n trusty
Revision history for this message
Volkan Gezer (volkangezer) wrote :

Tested with daily built from yesterday and works.

Changed in ubiquity (Ubuntu):
status: New → Fix Released
Revision history for this message
Volkan Gezer (volkangezer) wrote :

Today it came again. Here is the latest screenshot:

http://i.imgur.com/d4Kr6di.png

Changed in ubiquity (Ubuntu):
status: Fix Released → Confirmed
summary: - Strange characters in different locale
+ [kubuntu] Strange characters in different locale
Jonathan Riddell (jr)
Changed in ubiquity (Ubuntu):
milestone: none → ubuntu-14.04
tags: added: kubuntu
Revision history for this message
Harald Sitter (apachelogger) wrote : Re: [kubuntu] Strange characters in different locale

pyqt4's qstring to pystr conversion is entirely broken

possibly revert:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/python-qt4/trusty/revision/1.8.1#qpy/QtCore/qpycore_qstring.cpp

(which apparently is broken with some other cases, but that should have been the code we used in 13.10, so it probably won't be worse than that).

possible fix proper fix::
http://paste.ubuntu.com/7254739/

(unapproved and unverified by upstream, but solves the particular issue at hand)

Changed in ubiquity (Ubuntu):
status: Confirmed → Triaged
affects: ubiquity (Ubuntu) → python-qt4 (Ubuntu)
Changed in python-qt4 (Ubuntu):
importance: Undecided → Critical
summary: - [kubuntu] Strange characters in different locale
+ pyqt4 string conversion broken for utf8, breaking translation
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1299881

tags: added: iso-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-qt4 - 4.10.4+dfsg-1ubuntu1

---------------
python-qt4 (4.10.4+dfsg-1ubuntu1) trusty; urgency=medium

  * Fix encoding issues when converting a QString back to ai
    python string (LP: #1299881)
    + Add kubuntu_fix-encoding-issues.patch
 -- Rohan Garg <email address hidden> Tue, 15 Apr 2014 15:49:22 +0200

Changed in python-qt4 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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