[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#142072: marked as done (libc6: pre Euro currencies obseleted too soon)



Your message dated Tue, 11 Mar 2003 18:34:14 +0900
with message-id <8065qq6ycp.wl@oris.opensource.jp>
and subject line libc6: pre Euro currencies obseleted too soon
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Apr 2002 02:13:52 +0000
>From cyeoh@samba.org Tue Apr 09 21:13:52 2002
Return-path: <cyeoh@samba.org>
Received: from samba.sourceforge.net (lists.samba.org) [198.186.203.85] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16v7cO-0007S7-00; Tue, 09 Apr 2002 21:13:52 -0500
Received: by lists.samba.org (Postfix, from userid 1112)
	id 6E4D748E3; Tue,  9 Apr 2002 19:14:12 -0700 (PDT)
From: Christopher Yeoh <cyeoh@samba.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: pre Euro currencies obseleted too soon
X-Mailer: reportbug 1.49
Date: Wed, 10 Apr 2002 12:10:02 +1000
Reply-To: Christopher Yeoh <cyeoh@samba.org>
Message-Id: <20020410021412.6E4D748E3@lists.samba.org>
Delivered-To: submit@bugs.debian.org

Package: libc6
Version: 2.2.5-4
Severity: normal
Tags: patch


The pre Euro currencies have already been made obsolete
in glibc. This appears to be a little premature. Attached
is a patch and a full description of the problem
by Andrew Josey <ajosey@opengroup.org>

This is a bug in glibc which it appears they do not intend
to fix (the error message put out by localedef is erroneous
since ISO 4217 includes the deutschmark and other european currency symbols).
Glibc takes the view that these currencies are 
now obsoleted by the Euro and no applications should build
locales that use them.Hence Glibc no longer recognizes these
symbols, even though there might be applications such as the
test suites that would want to continue using them.

I attach a patch to glibc below.

>Description:
glibc/locale/iso-4217.def version 1.13

This file is a misinterpretation of the requirements of POSIX for the
int_currency_symbol.  

The Austin group spec says:

"The international currency symbol. The operand shall be a four-character
string, with the first three characters containing the alphabetic
international currency symbol in accordance with those specified in the
ISO 4217 standard. The fourth character shall be the character used to
separate the international currency symbol from the monetary quantity."


This can take the value of any currency symbol
defined in ISO 4217 -- there is no requirement that this be "valid
for current cash transactions" .  I suspect the data in this file
has been drawn from Table 1 of ISO 4217 and has neglected Tables 2 and
Table 3 which are important tables.  

I obtained a copy of ISO 4217:2001.
This includes three tables, table A-1 is the Currency and funds code
list, table A-2 is for Funds code registered with a maintenance agency,
and table A-3 lists codes for historic demoninations of currencies,

Table A-1 contains the european countries who have adopted
the Euro, together with the Euro and their other pre-Euro currency
and a note pointing to a timetable when the currency will be withdrawn.
This is not a withdrawal of the currency symbol in the ISO standard.
I would anticipate that a future revision of 4217 will
migrate the DEM, FRF etc to Table A-3.

Implementations that are disallowing currency symbols now obsoleted
by the Euro are doing so in error .  The DEM and FRF symbols
are listed in 4217:2001.

I anticipate that the current European currencies presently
in Table 1 in ISO 4217:2001 will migrate to table 3.
Limiting this to "valid" currencies as in what is valid for cash
transactions does not allow for historical processing applications nor the
fact that the central banks plan to continue accepting certain currencies
even though they are not the valid cash for a particular currency.


>How-To-Repeat:
	Try to use a currency symbol defined by ISO 4217 that
    is not in the iso-4217.def file version 1.1.3
>Fix:
    Reinstate the locales obsoleted by the Euro phaseover

 DEFINE_INT_CURR("ADP ")                /* Andorran Peseta obsoleted by EURO 28.2.2002  */
 DEFINE_INT_CURR("ATS ")                /* Austrian Schilling  */
 DEFINE_INT_CURR("BEF ")                /* Belgian Franc obsoleted by EURO 28.2.2002  */
 DEFINE_INT_CURR("DEM ")                /* German Mark obsoleted by EURO 28.2.2002  *
 DEFINE_INT_CURR("ESP ")                /* Spanish Peseta obsoleted by EURO 28.2.2002  */
 DEFINE_INT_CURR("FIM ")                /* Finnish Markka obsoleted by EURO 28.2.2002  */
 DEFINE_INT_CURR("FRF ")                /* French Franc obsoleted by EURO 28.2.2002  */
 DEFINE_INT_CURR("GRD ")                /* Greek Drachma obsoleted by EURO 28.2.2002  */
 DEFINE_INT_CURR("IEP ")                /* Irish Pound obsoleted by EURO 28.2.2002  */
 DEFINE_INT_CURR("ITL ")                /* Italian Lira obsoleted by EURO 28.2.2002  */
DEFINE_INT_CURR("LUF ")                /* Luxembourg Franc obsoleted by EURO 28.2.2002  */
DEFINE_INT_CURR("PTE ")                /* Portugese Escudo obsoleted by EURO 28.02.2002  */





-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux rockhopper 2.4.17 #6 Wed Jan 30 07:11:31 EST 2002 i686
Locale: LANG=C, LC_CTYPE=


---------------------------------------
Received: (at 142072-done) by bugs.debian.org; 11 Mar 2003 09:34:16 +0000
>From gotom@debian.or.jp Tue Mar 11 03:34:16 2003
Return-path: <gotom@debian.or.jp>
Received: from oris.opensource.jp (oris.opensource.gr.jp) [218.44.239.73] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18sg9H-0006zG-00; Tue, 11 Mar 2003 03:34:15 -0600
Received: from oris.opensource.jp (oris.opensource.jp [218.44.239.73])
	by oris.opensource.gr.jp (Postfix) with ESMTP id 84234C33C6
	for <142072-done@bugs.debian.org>; Tue, 11 Mar 2003 18:34:14 +0900 (JST)
Date: Tue, 11 Mar 2003 18:34:14 +0900
Message-ID: <8065qq6ycp.wl@oris.opensource.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: 142072-done@bugs.debian.org
Subject: Re: libc6: pre Euro currencies obseleted too soon
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 142072-done@bugs.debian.org
X-Spam-Status: No, hits=-0.5 required=4.0
	tests=QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01,USER_AGENT
	version=2.44
X-Spam-Level: 

Hi,

> The pre Euro currencies have already been made obsolete
> in glibc. This appears to be a little premature. Attached
> is a patch and a full description of the problem
> by Andrew Josey <ajosey@opengroup.org>
> 
> This is a bug in glibc which it appears they do not intend
> to fix (the error message put out by localedef is erroneous
> since ISO 4217 includes the deutschmark and other european currency symbols).
> Glibc takes the view that these currencies are 
> now obsoleted by the Euro and no applications should build
> locales that use them.Hence Glibc no longer recognizes these
> symbols, even though there might be applications such as the
> test suites that would want to continue using them.
> 
> I attach a patch to glibc below.
> 
> >Description:
> glibc/locale/iso-4217.def version 1.13
<snip>
> >How-To-Repeat:
> 	Try to use a currency symbol defined by ISO 4217 that
>     is not in the iso-4217.def file version 1.1.3
> >Fix:
>     Reinstate the locales obsoleted by the Euro phaseover
> 
>  DEFINE_INT_CURR("ADP ")                /* Andorran Peseta obsoleted by EURO 28.2.2002  */
>  DEFINE_INT_CURR("ATS ")                /* Austrian Schilling  */
>  DEFINE_INT_CURR("BEF ")                /* Belgian Franc obsoleted by EURO 28.2.2002  */
>  DEFINE_INT_CURR("DEM ")                /* German Mark obsoleted by EURO 28.2.2002  *
>  DEFINE_INT_CURR("ESP ")                /* Spanish Peseta obsoleted by EURO 28.2.2002  */
>  DEFINE_INT_CURR("FIM ")                /* Finnish Markka obsoleted by EURO 28.2.2002  */
>  DEFINE_INT_CURR("FRF ")                /* French Franc obsoleted by EURO 28.2.2002  */
>  DEFINE_INT_CURR("GRD ")                /* Greek Drachma obsoleted by EURO 28.2.2002  */
>  DEFINE_INT_CURR("IEP ")                /* Irish Pound obsoleted by EURO 28.2.2002  */
>  DEFINE_INT_CURR("ITL ")                /* Italian Lira obsoleted by EURO 28.2.2002  */
> DEFINE_INT_CURR("LUF ")                /* Luxembourg Franc obsoleted by EURO 28.2.2002  */
> DEFINE_INT_CURR("PTE ")                /* Portugese Escudo obsoleted by EURO 28.02.2002  */

Euro currency symbol migration was already over, so it's not
"premature" in these days.  I close this bug.  You may think
it's not early, but we can't add them non-official currency
symbols...

Regards,
-- gotom





Reply to: