Browse Prior Art Database

EURO Ready - Handling of Concurrent Dual Currencies in the Same Locale

IP.com Disclosure Number: IPCOM000119128D
Original Publication Date: 1997-Dec-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 75K

Publishing Venue

IBM

Related People

Soor, BS: AUTHOR

Abstract

Disclosed is a method for supporting concurrent dual currencies, such as the EURO and a local country currency within the same locale, in the POSIX and XPG4 models. There are three parts to the implementation of this solution which alleviates the need to carry two different locales each only able to deal with a single currency. In the description below, for illustration purposes, the two currencies chosen are the EURO and the French franc. The parts are: o Locale Source - The existing country/language locale is changed to accommodate the two currencies. Only the LC_MONETARY category is affected.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

EURO Ready - Handling of Concurrent Dual Currencies in the Same Locale

      Disclosed is a method for supporting concurrent dual
currencies, such as the EURO and a local country currency within the
same locale, in the POSIX and XPG4 models.  There are three parts to
the implementation of this solution which alleviates the need to
carry two different locales each only able to deal with a single
currency. In  the description below, for illustration purposes, the
two currencies chosen are the EURO and the French franc.  The parts
are:
  o  Locale Source - The existing country/language locale is
      changed to accommodate the two currencies.  Only the
      LC_MONETARY category is affected.  The original French
      LC_MONETARY category is expanded to include the second
      currency, the EURO:
  ##########################################################
  # NEW LC_MONETARY FOR FRANCE WITH EURO AND FRENCH FRANCS #
  ##########################################################
  #################################################################
  # ORIGINAL LC_MONETARY FOR THE SINGLE CURRENCY OF FRENCH FRANCS #
  #################################################################
  LC_MONETARY
  int_curr_symbol   "<F><R><F><space>"
  currency_symbol   "<F>"
  mon_decimal_point <comma>
  mon_thousands_sep "<space>"
  mon_grouping      3
  positive_sign     ""
  negative_sign     "<hyphen>"
  int_frac_digits   2
  frac_digits       2
  p_cs_precedes     0
  p_sep_by_space    1
  n_cs_precedes     0
  n_sep_by_space    1
  p_sign_posn       1
  n_sign_posn       1
  #########################################################
  # EXPAND LC_MONETARY TO INCLUDE SECOND CURRENCY OF EURO #
  #########################################################
  alternate_int_curr_symbol   "<E><U><R><space>"
  alternate_currency_symbol   "<EURO>"
  alternate_mon_decimal_point <comma>
  alternate_mon_thousands_sep "<space>"
  alternate_mon_grouping      3
  alternate_positive_sign     ""
  alternate_negative_sign     "<hyphen>"
  alternate_int_frac_digits   2
  alternate_frac_digits       2
  alternate_p_cs_precedes     0
  alternate_p_sep_by_space    1
  alternate_n_cs_precedes     0
  alternate_n_sep_by_space    1
...