Bug 458067

Summary: zypper ignores locale for some messages and prints them in UTF-8
Product: [openSUSE] openSUSE 11.1 Reporter: Marco Munderloh <munderl>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Marco Munderloh 2008-12-10 18:24:09 UTC
My locales are set like this:

LANG=de_DE@euro
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=de_DE@euro

zypper prints some messages in UTF-8:
Erzeuge Zwischenspeicher fÃŒr Repository 'openSUSE BuildService - Virtualisierung (VirtualBox)' [fertig]

The word "für" is printed as "fÃŒr".

However, other messages are ok:
Gesamtgröße des Downloads: 84,9 M. Kein zusätzlicher Speicherplatz wird nach dieser Operation belegt oder freigegeben.
Comment 1 Jan Kupec 2008-12-11 09:57:48 UTC
Weird, i can't find 'Erzeuge Zwischenspeicher' in zypp or zypper.po. And i thought zypper always writes UTF-8 (bug 309293).
Comment 2 Jan Kupec 2008-12-11 10:00:37 UTC
Are you sure you're on 11.1 final? Your 'zypper -V' please.
Comment 3 Jan Kupec 2008-12-11 10:02:31 UTC
OK, it's 11.0. So it seems message from libzypp are displayed in utf8, but zypper's aren't. I'll check this.
Comment 4 Marco Munderloh 2008-12-11 11:36:18 UTC
It's 11.1-RC1, 11.0 and 10.3 where the problem is in; maybe even older versions - I don't have older vversions available to test on.

zypper -V tells me version is 1.0.1.
Comment 5 Marco Munderloh 2009-01-08 16:10:34 UTC

*** This bug has been marked as a duplicate of bug 309293 ***