Consultor Eletrônico



Kbase 18418: 8.3 Support of European Currency
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/30/1998
8.3 Support of European Currency

There are two things that mean that Progress supports EURO currency -
that will be used in EU starting 1/1/1999.

1) Character sets - Progress had to modify some codepages and create
new ones that sort and display this character. In most of Microsoft
codepages, this character has an ASC value of 128.
- These are included in convmap.dat (and compiled version convmap.cp)
- Customers just specify a codepage (parameters like cpinternal,
cpstream) with Euro and the rest is done by Progress.

2) proutil -C convchar has been extended to "analyze" option. This op
tion allows a user to scan a db and see if a character(value) is used.

proutil db -C convchar charscan 1252 "128" - will report all records
(table.field), that contain a character that will after a conversion
to codepage 1252 have a value of 128 (EURO).

There are some other issues involved in Euro conversion, that are not
Progress related:
1) OS has to be able to display and type this character; it's possible
to download this extension from Microsoft web page (for Win95, Win98
and NT). if OS does not support the character we cannot do anything
about it.

2) There are some rules how to use Euro in conversions from one
currency to another one. This is quite complicated, and has to be
done on an application level. As an example - an amount in german
marks cannot be converted directly to UK pounds, but first to Euro and
then to pounds. This also involves some rules about rounding ...