Bug 639000 - Wrong Ukrainian currency symbol
Summary: Wrong Ukrainian currency symbol
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: glibc
Version: 5.5
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Jeff Law
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 668957 789209
TreeView+ depends on / blocked
 
Reported: 2010-09-30 15:20 UTC by Ashish Shah
Modified: 2018-11-30 23:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Same as RHEL 6.3 BZ 789209.
Clone Of:
: 789209 (view as bug list)
Environment:
Last Closed: 2013-01-08 03:44:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
adds Ukrainian currency symbol (595 bytes, patch)
2010-09-30 15:20 UTC, Ashish Shah
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0022 0 normal SHIPPED_LIVE glibc bug fix and enhancement update 2013-01-08 08:38:20 UTC

Description Ashish Shah 2010-09-30 15:20:22 UTC
Created attachment 450788 [details]
adds Ukrainian currency symbol

Description of problem:

Ukrainian currency symbol is not correct, 
Currently it is displayed as rp, this should be rpH

Version-Release number of selected component (if applicable):
All RHEL and Fedora

How reproducible:
Always

Steps to Reproduce:

1) Create cursym.c as below//
$ cat /tmp/cursym.c 
/*
 * http://www.gnu.org/s/libc/manual/html_node/Currency-Symbol.html#Currency-Symbol
 */

#include <stdio.h>
#include <locale.h>

int main()
{
	struct lconv *lv;

	setlocale (LC_ALL, "");
	lv = localeconv();
	fprintf (stdout, "Currency symbol for locale: %s\n", lv->currency_symbol);
	fprintf (stdout, "Intl currency sym for locale: %s\n", lv->int_curr_symbol);
	return 0;
}


2) Compile the code..
$ cc -o cursym cursym.c 

3) Run the code with uk_UA.UTF-8 locale
$ LC_ALL=uk_UA.UTF-8 ./cursym 
Currency symbol for locale: гр 
Intl currency sym for locale: UAH  
  
Actual results:
Ukrainian currency symbol displayed as гр

Expected results:
Ukrainian currency symbol should be displayed as  грн

Additional info:
http://en.wikipedia.org/wiki/Hryvnia_sign
http://www.cambiaresearch.com/cambia3/products/datacleanser/help/Content/Culture%20Currency.htm

The patch displays currency symbol as  грн. as per above URL. Not sure if trailing dot is really required.

Comment 1 RHEL Program Management 2011-06-20 22:09:45 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 3 Andreas Schwab 2011-11-02 15:55:56 UTC
Where is that defined?

Comment 5 Jeff Law 2011-11-21 20:35:11 UTC
Constitution of Ukraine defines it in Article 99.

Comment 7 RHEL Program Management 2012-04-02 13:07:25 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 9 Jeff Law 2012-06-11 21:42:29 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Same as RHEL 6.3 BZ 789209.

Comment 11 errata-xmlrpc 2013-01-08 03:44:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0022.html


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