Bug 103415 - Weird string in date printing
Summary: Weird string in date printing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-08-29 21:55 UTC by Alan Cox
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-28 04:35:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2004:586 0 normal SHIPPED_LIVE Low: glibc security update 2004-12-20 05:00:00 UTC

Description Alan Cox 2003-08-29 21:55:21 UTC
This shows up with a locale of cy_GB.UTF-8. If I run rpm -qi desktop-printing
(or anything else for that matter) it displays a date string of 

Dydd Gwener 29 a viz Awst 2003 22:21:01 BST

The [a viz] is weird and nothing to do with Welsh at all and other things appear
pear shaped.

In locale C I get 
Build Date: Wed Jul 23 .... 2003\n
Install Date: Fri Aug 29 22:21:01 2003

In locale cy_GB.UTF-8 I get (rpm has not been localised yet)

Build Date:
Install Date:  Dydd Gwener 29 a viz Awst 2003 22:21:01 BST 

which is the wrong format, the build date has vanished. The signature date lower
down is present but mangled in the same way.

Comment 1 Alan Cox 2003-08-29 21:56:13 UTC
(other apps all appear to be sane but I can't see anything that makes rpm
trigger this)


Comment 2 Alan Cox 2004-06-14 09:14:21 UTC
Still seen in FC2


Comment 3 Jakub Jelinek 2004-06-14 09:31:31 UTC
I get:
LC_ALL=cy_GB.UTF-8 rpm -qi desktop-printing
Name        : desktop-printing             Relocations: (not relocatable)
Version     : 0.1.10                            Vendor: Red Hat, Inc.
Release     : 26                            Build Date: Dydd Mercher 05 a viz Mai 2004 16:56:00 CEST
Install Date: Dydd Llun 10 a viz Mai 2004 11:25:55 CEST      Build Host: perf87.perf.redhat.com
Group       : Applications/File             Source RPM: desktop-printing-0.1.10-26.src.rpm
...
on FC2.
a viz there comes from:
d_t_fmt     "<U0044><U0079><U0064><U0064><U0020><U0025><U0041><U0020><U0025><U0064><U0020><U0061><U0020><U0076><U0069><U007A><U0020><U0025><U0042><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
which is translated to ASCII:
d_t_fmt     "Dydd %A %d a viz %B %Y %T %Z"

Comment 4 Ulrich Drepper 2004-08-26 05:06:30 UTC
Ping Mr Cox.  Works for me, too.  Please close the bug if you concur.

# LC_ALL=cy_GB.UTF-8 rpm -qi glibc
Name        : glibc                        Relocations: (not relocatable)
Version     : 2.3.3                             Vendor: Red Hat, Inc.
Release     : 46                            Build Date: Dydd Sadwrn 21
a viz Awst 2004 07:00:06 PDT
Install Date: Dydd Sul 22 a viz Awst 2004 23:44:33 PDT      Build
Host: tweety.build.redhat.com


Comment 5 Ulrich Drepper 2004-09-25 21:01:53 UTC
One last time: do we have to remove the "a viz" from the locale
specification or is it a feature of the language you don't know yet?

Comment 6 Alan Cox 2004-09-26 00:04:31 UTC
There is neither a 'v' nor a 'z' in the language.  Having dug around
it seems somehow a random bit of cornish has been pasted into the cy
file by someone wel before the cy translation project ever took off

s/a viz/mis/ 

and all will be happy.



Comment 7 Ulrich Drepper 2004-09-28 04:35:01 UTC
Fixed in CVS.

Comment 8 John Flanagan 2004-12-20 18:14:16 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2004-586.html



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