Bug 8475 - Installer shows incorrectly capital letters
Summary: Installer shows incorrectly capital letters
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-22 12:15 CET by Kamil Rytarowski
Modified: 2012-12-23 13:17 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
screenshot (11.10 KB, image/jpeg)
2012-12-22 12:16 CET, Kamil Rytarowski
Details

Description Kamil Rytarowski 2012-12-22 12:15:30 CET
Description of problem:
Installer shows incorrectly capital letters, at least in the Polish language

"PROSZÄ CZEKAÄ" instead of "PROSZÄ CZEKAÄ" or "ProszÄ czekaÄ"

The strings are correct
draklive-install/trunk/po/pl.po:msgstr "ProszÄ czekaÄ"

Version-Release number of selected component (if applicable):
Mga3 Beta1

How reproducible:
Always

Steps to Reproduce:
1. Boot .iso
2. Select Polish
3.
Comment 1 Kamil Rytarowski 2012-12-22 12:16:08 CET
Created attachment 3276 [details]
screenshot
Comment 2 Manuel Hiebel 2012-12-22 12:23:02 CET
it's more this .po http://svnweb.mageia.org/soft/drakx/trunk/perl-install/share/po/pl.po?view=markup but indeed it seems ok

CC: (none) => thierry.vignaud
Severity: normal => minor

Comment 3 Thierry Vignaud 2012-12-22 16:33:41 CET
we use the uc() function to upcase titles.
Depending on the pragma, result differs:

$ perl -e '$s = "ProszÄ czekaÄ\n"; warn $s, uc($s)'
ProszÄ czekaÄ
PROSZÄ CZEKAÄ
$ perl -Mutf8 -e '$s = "ProszÄ czekaÄ - Wybór noÅników \n"; warn $s, uc($s)'
ProszÄ czekaÄ - Wybór noÅników 
PROSZÄ CZEKAÄ - WYBÃR NOÅNIKÃW 
$ perl -Mlocale -e '$s = "ProszÄ czekaÄ - Wybór noÅników \n"; warn $s, uc($s)'
ProszÄ czekaÄ - Wybór noÅników 
PROSZÄ CZEKAÄ - WYBóR NOÅNIKóW 
$ perl -Mutf8 -Mlocale -e '$s = "ProszÄ czekaÄ - Wybór noÅników \n"; warn $s, uc($s)'
ProszÄ czekaÄ - Wybór noÅników 
PROSZÄ CZEKAÄ - WYBóR NOÅNIKóW 

using 'no locale' or "use locale ':not_characters'" also works in a one liner.
However, it doesn't in drakx (yet)

Assignee: bugsquad => thierry.vignaud

Comment 4 Thierry Vignaud 2012-12-22 20:09:33 CET
OK, issue is that translated strings are not tagged as UTF-8 at perl level.
I need to evaluate the consequences.

Status: NEW => ASSIGNED

Comment 5 Thierry Vignaud 2012-12-23 13:10:33 CET
We were missing unicore/To/Uc.pl

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 6 Kamil Rytarowski 2012-12-23 13:17:58 CET
Thanks

Note You need to log in before you can comment on or make changes to this bug.