HP-UX 11i June 2001 Release Notes
New and Changed Internationalization Features
Euro - ISO 10646/Unicode Support (new at 11i original release)
Chapter 15290
alternate monetary units via setlocale (3C) calls:
/* Handle euro in strfmon(), ... */
setlocale(LC_MONETARY, "fr_FR.utf8@euro");
...
/* Handle French francs in strfmon(), ... */
setlocale(LC_MONETARY, "fr_FR.utf8");
When the LC_MONETARY environment variable is set to euro, the
formatting in monetary category will use euro standard formatting rules
whereas other categories will still use local conventions in formatting. As
a result, users may encounter a change to the decimal and thousandths
separators for the currency, whereas decimal and thousandths
separators outside the monetary area, like in numeric numbers, remain
as per local conventions.
For example, in the French locale the thousandths separator is a space
and the decimal point is a comma. However, the international standard
for the thousandths separator for the euro currency is a period. So,a user
that has the LC_MONETARY locale category set to “fr_FR.utf8@euro” will
see the following behavior:
• The number “One thousand five hundred and fifty and a half” outside
the monetary area will be displayed as 1 550,50.
• The monetary number “One thousand five hundred and fifty euro and
50 cents” will be displayed as EUR 1.550,50
Commands
The localedef (1M) command has been enhanced to handle @euro
modifier in order to build dual currency locale(s).
The lp (1) model scripts for the dual currency locales have been enhanced
to print euro character.
libc
Standard libc supports @euro dual currency.