Currency units and presentation order vary greatly around the world. Local and international symbols for currency can differ. The following table shows monetary formats in some countries.
Table 1–4 International Monetary Conventions
Locale |
Currency |
Example |
---|---|---|
Canadian (English) |
Dollar ($) |
$1,234.56 |
Canadian (French) |
Dollar ($) |
1 234,56$ |
Danish |
Kroner (kr) |
Kr 1.234,56 |
Finnish |
Euro () |
1 234,56 |
French |
Euro () |
1,234 |
Japanese |
Yen (¥) |
¥ 1,234 |
Norwegian |
Krone (kr) |
kr 1.234,56 |
Swedish |
Krona (Kr) |
1 234,56 Kr |
Great Britain |
Pound (£) |
£1,234.56 |
United States |
Dollar ($) |
$1,234.56 |
Thai |
Baht |
2539 Baht |
The current release supports the Euro currency. Local currency symbols are still available for backward compatibility.
Table 1–5 User Locales That Support the Euro Currency
Region |
Locale Name |
ISO Code Set |
---|---|---|
Austria |
de_AT.ISO8859-15 |
8859-15 |
Belgium (French) |
fr_BE.ISO8859-15 |
8859-15 |
Belgium (Flemish) |
nl_BE.ISO8859-15 |
8859-15 |
Denmark |
da_DK.ISO8859-15 |
8859-15 |
Estonia |
et_EE.ISO8859–15 |
8859–15 |
Finland |
fi_FI.ISO8859-15 |
8859-15 |
France |
fr_FR.ISO8859-15 |
8859-15 |
Germany |
de_DE.ISO8859-15 |
8859-15 |
Great Britain |
en_GB.ISO8859-15 |
8859-15 |
Ireland |
en_IE.ISO8859-15 |
8859-15 |
Italy |
it_IT.ISO8859-15 |
8859-15 |
Netherlands |
nl_NL.ISO8859-15 |
8859-15 |
Portugal |
pt_PT.ISO8859-15 |
8859-15 |
Catalan Spain |
ca_ES.ISO8859-15 |
8859–15 |
Spain |
es_ES.ISO8859-15 |
8859-15 |
Sweden |
sv_SE.ISO8859-15 |
8859-15 |
U.S.A. |
en_US.ISO8859-15 |
8859-15 |
Euro locales are based on the ISO8859–15 code set.
Keep in mind that a converted currency amount can require a different amount of space than the original amount, for example, $1,000 can become 1 000,00 Kr.
The current status of the locale settings for locales within the euro zone is illustrated for the LC_MONETARY operand of the locale utility. The status for Germany, for example, is shown in the following table.
Table 1–6 German Locale and Corresponding LC_MONETARY Operand
Locale |
LC_MONETARY |
---|---|
de_DE.ISO8859–1 |
DM |
de_DE.ISO8859–15 |
Euro |
de_DE.UTF-8 |
Euro |
de_DE.ISO8859–15@euro |
Euro |
de_DE.UTF-8@euro |
Euro |