pyqt4 string conversion broken for utf8, breaking translation

Bug #1299881 reported by Volkan Gezer on 2014-03-30
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-qt4 (Ubuntu)

Bug Description

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

Attached the image.

Volkan Gezer (volkangezer) wrote :
description: updated
tags: added: i18n trusty
Volkan Gezer (volkangezer) wrote :

Tested with daily built from yesterday and works.

Changed in ubiquity (Ubuntu):
status: New → Fix Released
Volkan Gezer (volkangezer) wrote :

Today it came again. Here is the latest screenshot:

Changed in ubiquity (Ubuntu):
status: Fix Released → Confirmed
summary: - Strange characters in different locale
+ [kubuntu] Strange characters in different locale
Jonathan Riddell (jr) on 2014-04-14
Changed in ubiquity (Ubuntu):
milestone: none → ubuntu-14.04
tags: added: kubuntu

pyqt4's qstring to pystr conversion is entirely broken

possibly revert:

(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::

(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
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:

tags: added: iso-testing
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments