Bug 549

Summary: Fixed ISO-4217 spec for sr_CS locale
Product: glibc Reporter: Aleksandar Urosevic <urke>
Component: localedataAssignee: Petter Reinholdtsen <pere>
Status: RESOLVED FIXED    
Severity: normal CC: dsegan, glibc-bugs
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 38, 852    
Attachments: patch for iso-4217.def (YUM to CSD)

Description Aleksandar Urosevic 2004-11-15 15:15:21 UTC
I build Glibc cvs 20041011 and found that in locale/iso-4217.def specification
for Serbian and Montenegro Dinar is YUM, what is old data for old monetary
"Yugoslavian New Dinar". So, now it is CSD. This spec is required for proper
compiling sr_CS and sr_CS@Latn locale data.

My English is too bad :)
Comment 1 Aleksandar Urosevic 2004-11-15 15:17:50 UTC
Created attachment 282 [details]
patch for iso-4217.def (YUM to CSD)
Comment 2 Danilo Segan 2004-11-28 19:22:37 UTC
Some references (there're many more ISO 4127 web pages which cite "CSD", but no
official ones, unless paid ;):
 http://www.iridis.com/glivar/ISO_4217
Comment 3 Petter Reinholdtsen 2004-12-05 11:37:12 UTC
When did this change take effect?
Comment 4 Danilo Segan 2004-12-05 12:18:12 UTC
My guess is at the same time YU/YUG->CS/SCG change took place: currency code is
defined as starting with ISO 3166 alpha-2 code, as described on eg.
http://encyclopedia.thefreedictionary.com/Currency%20Code :

> The first two letters of the code are the two letters of ISO 3166-1 alpha-2 
> (which are similar to those used for national top-level domains on the internet)
> and the third is usually the initial of the currency itself.

I couldn't find any trustworthier source (like page on iso.ch itself).
Comment 5 Aleksandar Urosevic 2004-12-10 16:41:36 UTC
(In reply to comment #4)

> I couldn't find any trustworthier source (like page on iso.ch itself).

I found official notice in „National Bank of Serbia“ News and Press Releases on
http://www.nbs.org.yu/english/news (direct link to this news page is
http://www.nbs.org.yu/english/4_10.htm )

There is noted this:
„Foreign Banks and Their Subsidiaries Offering Purchase and Sale of Dinars (CSD)“
Comment 6 Petter Reinholdtsen 2005-01-14 18:46:23 UTC
Looks good to me.  I'm not sure if the old currecy code need to stay
in the list for a while, but expect it to be safe to just remove it.
Comment 8 Sourceware Commits 2005-07-18 01:47:36 UTC
Subject: Bug 549

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-07-18 01:47:31

Modified files:
	locale         : iso-4217.def 

Log message:
	2005-02-27  Denis Barbier  <barbier@debian.org>
	
	[BZ #549]
	* locale/iso-4217.def: Add CSD currency.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/locale/iso-4217.def.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.15&r2=1.15.4.1

Comment 9 Roland McGrath 2005-07-19 03:30:20 UTC
This fix is now in the 2.3 branch as well as the trunk, and the problem should
be resolved as of the 2.3.6 release.