Enabling and disabling euro symbol support
Db2® provides support for the euro currency symbol.
The euro symbol has been added to numerous code pages. Microsoft ANSI code pages have been modified to include the euro currency symbol in position X'80'. Code page 850 has been modified to replace the character DOTLESS I (found at position X'D5') with the euro currency symbol. Db2 internal code page conversion routines use these revised code page definitions as the default to provide euro symbol support.However, if you want to use the non-euro definitions of the code page conversion tables, you can disable the euro-symbol support after installation is complete.
Before you begin
Procedure
To disable euro-symbol support:
What to do next
For code pages 819 (ISO 8859-1 Latin 1 ASCII) and 1047 (Latin 1 Open System EBCDIC), the euro replacement code pages, 923 (ISO 8859-15 Latin 9 ASCII) and 924 (Latin 9 Open System EBCDIC), contain not just the euro symbol but also several new characters. Db2 continues to use the old (non-euro) definitions of these two code pages and conversion tables, namely 819 and 1047, by default. There are two ways to activate the new 923/924 code page and the associated conversion tables:
- Create a new database that uses the new code page. For example,
DB2 CREATE DATABASE dbname USING CODESET ISO8859-15 TERRITORY US
- Copy the 923 or 924 conversion table files from the sqllib/conv/alt/
directory to the sqllib/conv/ directory and rename
them to 819 or 1047, respectively.Note: This method does not work for IBM® Data Server Driver for JDBC and SQLJ client applications.