Discussion:
Euro Currency for UK
Jain, Pankaj (MED, TCS)
2003-10-08 23:52:29 UTC
Permalink
Hi,
I Have requirement to display Euro Currency Symbol for en_GB
locale.I know that if we use en_GB as CurrencLocale, then it default to
Pound.Is there any way I can set it to Euro.

Thanks
Pankaj
Chris Jacobs
2003-10-09 03:05:27 UTC
Permalink
u+20AC should display as € EURO SIGN, _regardless_ what the locale is.
If it does not then your system is broken.

If it does, but your keyboard layout does not have a key for u+20AC then get e.g. UniPad at www.unipad.org
----- Original Message -----
From: Jain, Pankaj (MED, TCS)
To: '***@unicode.org'
Sent: Thursday, October 09, 2003 1:52 AM
Subject: Euro Currency for UK


Hi,
I Have requirement to display Euro Currency Symbol for en_GB locale.I know that if we use en_GB as CurrencLocale, then it default to Pound.Is there any way I can set it to Euro.

Thanks
Pankaj
Peter Kirk
2003-10-09 11:10:16 UTC
Permalink
Post by Jain, Pankaj (MED, TCS)
Hi,
I Have requirement to display Euro Currency Symbol for en_GB
locale.I know that if we use en_GB as CurrencLocale, then it default
to Pound.Is there any way I can set it to Euro.
Thanks
Pankaj
Our default currency in the UK is still the pound sterling. It will take
more than you changing some settings to change it to the Euro! :-)

The Euro symbol is available, and should be displayed correctly if you
have a suitable font, in CP1252 and ISO-8859-1 which are the usual
legacy encodings used in the UK - and of course in Unicode. I assume you
are not using a system from before about 1998 when the Euro was added to
systems and fonts. Anything beyond that depends on what system you are
referring to, and so is probably not really a matter for this list.
--
Peter Kirk
***@qaya.org (personal)
***@qaya.org (work)
http://www.qaya.org/




------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
j***@spin.ie
2003-10-09 12:04:25 UTC
Permalink
Post by Peter Kirk
The Euro symbol is available, and should be displayed correctly if you
have a suitable font, in CP1252 and ISO-8859-1 which are the usual
legacy encodings used in the UK - and of course in Unicode.
The Euro symbol is not in ISO 8859-1, it is however in ISO 8859-15 and ISO 8859-16. It was added to CP1252 after the inital specification of CP1252 and hence some systems may not render it correctly (especially since the update may have seemed a pointless install to some outside of the jurisdictions in which the Euro is legal tender).

I think the question though is how to get some particular locale system to use that symbol as the default currency character.






To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Stefan Persson
2003-10-09 13:38:35 UTC
Permalink
The Euro symbol is not in ISO 8859-1, it is however in ISO 8859-15 and ISO 8859-16. It was added to CP1252 after the inital specification of > CP1252 and hence some systems may not render it correctly (especially since the update may have seemed a pointless install to some outside of > the jurisdictions in which the Euro is legal tender).
Isn't Euro support added to all CP1252 versions of Windows 98 and later,
and in Windows 95 if people manually visit some Microsoft web page and
download an update for this? My copy of “iconv” for Linux supports € in
CP1252, and all of my other CP1252-compatible programs (e.g. Mozilla)
also seem to support it.

Stefan



------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Addison Phillips [wM]
2003-10-09 14:46:54 UTC
Permalink
Hmm.. this isn't really a Unicode question. You might want to post this
question over on the i18n programming list 'i18n-***@yahoogroups.com'
or on the locales list at '***@yahoogroups.com'.

You don't say what your programming or operating environments are. There
are two possibilities here.

If you want to use your existing software to display currencies as the
Euro instead of pounds, you can generally either set the display
settings (Windows Regional options control panel) for currency to "look
like" the Euro. Or you can set (on Unix systems) the LC_MONETARY locale
variable to some locale that uses the Euro with English-like formatting.
A few systems actually provide a specialized variant locale for
***@EURO for this purpose. A few provide an ***@EURO, which won't be
helpful to you because of differences in the separators used in the two
locales.

You can also compile your own locale tables on Unix. Read the man pages
on locale.

If you are writing your own software, then it really isn't that hard.
Some programming environments, such as Java, provide either a separate
Currency class with the ability to create specific display-time formats
that take both the currency and the display locale into account. Others
require you to create a formatter to convert the value into a string for
display.

In fact, when working with currency it is important to associate which
currency you mean with the value. You may experience problems if you
create a data field for "value" and format it according to the machine's
runtime locale. The runtime locale can imply a certain default currency,
as you note, but "default" does not mean "only". Consider:

<value>123.45</value>

Not right:

en_GB: £123,45
en_US: $123.45
de_DE: €123,45
ja_JP: ¥123

Most commonly the ISO4217 currency code is associated with a value to
create a data structure that is specific:

<value>
<amount>123.45</amount>
<currency>EUR</currency>
</value>

en_GB: €123,45
en_US: €123.45
de_DE: €123,45
ja_JP: €123.45

Getting the formatting right is a matter of accessing the formatting
fucctions of your programming API correctly. Most programming
environments provide a way to format a value using separate locale rules
(for grouping and decimal separators) and currency.

More information about what you're trying to do would help in
recommending a solution.

Best Regards,

Addison
--
Addison P. Phillips
Director, Globalization Architecture
webMethods, Inc.

+1 408.962.5487 mailto:***@webmethods.com
-------------------------------------------
Internationalization is an architecture. It is not a feature.

Chair, W3C I18N WG Web Services Task Force
http://www.w3.org/International/ws




------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Markus Scherer
2003-10-10 00:24:48 UTC
Permalink
I think Addison is on the right track here.

I would like to point to ICU sample code for this kind of thing:
http://oss.software.ibm.com/cvs/icu/~checkout~/icu/source/samples/numfmt/main.cpp

See the code there from setNumberFormatCurrency_2_6 on down (the preceding code is for older ICU
versions and general number formatting API usage).

ICU homepage: http://oss.software.ibm.com/icu/

Best regards,
markus



------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
j***@spin.ie
2003-10-09 14:20:05 UTC
Permalink
Post by Stefan Persson
Isn't Euro support added to all CP1252 versions of Windows 98 and later,
and in Windows 95 if people manually visit some Microsoft web page and
download an update for this?
Yes (well, I'm not sure of the exact versions, but that's a minor matter). At this point most people who would have needed to update have done, but it's possible that users in countries that don't use the Euro haven't done so. Given that we are talking about the use of the symbol with a locale that is otherwise focused on people in Britain it's worth considering.






------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Martin JD Green
2003-10-09 17:00:37 UTC
Permalink
----- Original Message -----
From: <***@spin.ie>
To: <***@unicode.org>
Sent: Thursday, October 09, 2003 5:20 PM
Subject: Re: Euro Currency for UK
Post by j***@spin.ie
Post by Stefan Persson
Isn't Euro support added to all CP1252 versions of Windows 98 and later,
and in Windows 95 if people manually visit some Microsoft web page and
download an update for this?
Yes (well, I'm not sure of the exact versions, but that's a minor matter).
At this point most people who would have needed to update have done, but
it's possible that users in countries that don't use the Euro haven't done
so. Given that we are talking about the use of the symbol with a locale that
is otherwise focused on people in Britain it's worth considering.
The euro character was added to CP1252 back in 1999 and most systems have
the character. However, the locales which should be using the euro were not
updated and no replacement locales for Windows are directly available from
Microsoft. They do have a tool available to add the euro as the default
currency symbol to those locales which need it but that tool ONLY works if
you have that locale as the default locale.

This means that if I generate a new system (XP Professional) with all the
latest updates but use UK as the standard locale and then try to switch to
FRENCH/FRANCE I still get Francs! To get the locale to use euros I have to
download this tool and run it while switched into the FRENCH/FRANCE locale!

I'm not sure why you want to set the euro as the standard currency for UK as
(at present) we have not switched to that currency!?

Martin Green




------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Philippe Verdy
2003-10-10 16:20:55 UTC
Permalink
----- Original Message -----
Post by Martin JD Green
This means that if I generate a new system (XP Professional) with all the
latest updates but use UK as the standard locale and then try to switch to
FRENCH/FRANCE I still get Francs! To get the locale to use euros I have to
download this tool and run it while switched into the FRENCH/FRANCE locale!
Microsoft has already provided the administrative Euro settings tool that
allows users to see the Euro in their corresponding prefered locale instead
of the legacy unit: with this tool, users can switch from one locale to the
other and have the Euro enabled/disabled.

In fact I just think that despite the UK is still not using the Euro, this
is only specific to the UK locale and should not apply to other locales,
even in a British localized system. So the default locale should be
date-based, knowing that, e.g., French/France is now Euro-enabled even in
UK: on such British system, a fr/FR user locale should see the EUR at first
place before FRF.

The limit exists on Windows 9x/ME where the automatic switch is not
available for standalone systems, as Win9x/ME only supports one locale at a
time (but it exists in domain-level group policies, when Win 9x/ME is used
as a workstation in a NT/2K/XP domain).

Note that this problem is absolutely not related to Unicode or to the
support of the Euro symbol in system fonts and for text codepage
conversions. If one applies a Windows-1252 update in a British system, it
should still assign and use the Euro symbol at position 0x80, no matter the
current user locale, provided that the user locale or any application uses
the Windows-1252 codepage, or the system uses this codepage to map its
"ANSI" codepage. And even in that case it should map to U+20AC for
conversion with Unicode (the UTF-16 transform used in all Win32 Unicode API,
or in UTF-8 and other related encoding schemes used on the web).

This assignment is not necessary for the DOS/OEM codepage which is most
often the CP-850 in Western Europe and does not contain the Euro character
(that cannot be seen in a command-line window, and will be displayed as a
"?" if entered on the keyboard).

IBM (not Microsoft) has defined some variants of the traditional DOS/OEM
codepages to allow display and input of the Euro symbol and character. They
are not used on Windows, except in text converter tools for NT/2K/XP (the
"c_*.nls" system files) such as in MIME-compliant applications like Internet
Explorer, Outlook, Outlook Express, or Office programs like Word that need
to convert correctly all texts (entered in non-Windows systems) to a Windows
codepage or to Unicode.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Peter Kirk
2003-10-10 17:59:06 UTC
Permalink
Post by Jain, Pankaj (MED, TCS)
Hi,
I Have requirement to display Euro Currency Symbol for en_GB
locale.I know that if we use en_GB as CurrencLocale, then it default
to Pound.Is there any way I can set it to Euro.
Thanks
Pankaj
It has occurred to me, after reading several other responses, that you
could try using an en_IE locale i.e. for Ireland. That should have the
Euro as the default currency, but probably most other things the same as
in the UK - though no doubt Michael or Jon could correct me on the details.
--
Peter Kirk
***@qaya.org (personal)
***@qaya.org (work)
http://www.qaya.org/




------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Continue reading on narkive:
Loading...