[Bug 1057485] Re: ubiquity-kde codepage problem in Timezone map (Timezone.py)

Colin Watson cjwatson at canonical.com
Tue Oct 2 18:04:55 UTC 2012


Note to developers: you may need to 'sudo locale-gen el_GR.UTF-8' before
starting ubiquity in order to reproduce this bug properly.

I have confirmed that this bug was naturally fixed by the new Python
3-based PyQt API used in 12.10, but I can still reproduce it in 12.04.

** Also affects: ubiquity (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Changed in: ubiquity (Ubuntu Precise)
       Status: New => Triaged

** Changed in: ubiquity (Ubuntu Precise)
   Importance: Undecided => High

** Changed in: ubiquity (Ubuntu Precise)
    Milestone: None => ubuntu-12.04.2

** Changed in: ubiquity (Ubuntu Quantal)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1057485

Title:
  ubiquity-kde codepage problem in Timezone map (Timezone.py)

Status in “ubiquity” package in Ubuntu:
  Fix Released
Status in “ubiquity” source package in Precise:
  Triaged
Status in “ubiquity” source package in Quantal:
  Fix Released

Bug description:
  When installing kubuntu using the Greek language, in the Timezone selection screen,
  there is a tooltip that shows the time and then supposedly "am" or "pm" but in Greek
  case it shows gibberish instead of "πμ" or "μμ".

  The reason is a hidden python str -> QString conversion since QString is latin-1 by
  default.

  One way to solve this problem is to add:

  QtCore.QTextCodec.setCodecForCStrings(QtCore.QText.CodecForName("utf8"))

  after

  class TimezoneMap(QtGui.QWidget):

  at

  ubiquity/frontend/kde_components/Timezone.py

  I would guess that this also affects other languages with non-latin alphabets
  (e.g., Russian). Please fix.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1057485/+subscriptions




More information about the foundations-bugs mailing list