ubiquity-kde codepage problem in Timezone map (Timezone.py)
Bug #1057485 reported by
Pantelis Koukousoulas
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Colin Watson | ||
Quantal |
Fix Released
|
High
|
Unassigned |
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.
after
class TimezoneMap(
at
ubiquity/
I would guess that this also affects other languages with non-latin alphabets
(e.g., Russian). Please fix.
Related branches
tags: | added: kubuntu |
Changed in ubiquity (Ubuntu Quantal): | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → ubuntu-12.10 |
Changed in ubiquity (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in ubiquity (Ubuntu Precise): | |
milestone: | ubuntu-12.04.2 → ubuntu-12.04.3 |
To post a comment you must log in.
I made a small mistake above :S
The correct line (as proposed in IRC by tsimpson) is
QtCore. QTextCodec. setCodecForCStr ings(QtCore. QTextCodec. codecForName( "utf8") )