Bug 639000

Summary: Wrong Ukrainian currency symbol
Product: Red Hat Enterprise Linux 5 Reporter: Ashish Shah <ashishks>
Component: glibcAssignee: Jeff Law <law>
Status: CLOSED ERRATA QA Contact: qe-baseos-tools-bugs
Severity: high Docs Contact:
Priority: high    
Version: 5.5CC: fweimer, law, mfranc, ofourdan
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Same as RHEL 6.3 BZ 789209.
Story Points: ---
Clone Of:
: 789209 (view as bug list) Environment:
Last Closed: 2013-01-08 03:44:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 668957, 789209    
Attachments:
Description Flags
adds Ukrainian currency symbol none

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