If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Multilingual Support

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-17-06, 13:48
sackerdj sackerdj is offline
Registered User
 
Join Date: Feb 2002
Posts: 8
Multilingual Support

How does DB2 multilingual support work? Is it installation specific or a database specific setting? Is there a way to check if a current installation supports multilingual data?

TIA
Reply With Quote
  #2 (permalink)  
Old 07-18-06, 01:55
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
language

does this not mean that data is save in different codepages ?
sysibm.syscolumns keeps codepage for each character field and if clients with different codepage come in and create their tables you will have data with different codepage origine. Or if having an utf database and using graphic fields, you could save data for different languages. will have a lookup on this.
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 07-18-06, 01:59
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
multilingual

according the infocenter, this means that db2 has been installed with multi languages (english and other..) changing the default system language will return the messages in that language if previously installed. It is an installation issue and copying the language repositories that have been specified instead of default english.
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #4 (permalink)  
Old 07-19-06, 01:01
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
There are 2 main kinds of multi-lingual support:

1. Multiple languages with a single-byte character set (English, Italian, German, French, Brazilian Portuguese, Spanish, etc).

2. Supporting languages that require double-byte character sets such as Japanese, Korean, Simplified Chinese, Traditional Chinese (This version also supports single byte character sets).

DB2 Install Code
Some versions (like Linux and Windows) are language independent and have only one install (or fixpack) install code. AIX has a separate instal code (and separate fixpacks) depending on whether you want option 1 or 2 above. You can check the fixpack page for more details about your specific platform.
http://www-306.ibm.com/software/data...ownloadv8.html

Enabling Double Byte Character Support at the Database Level
Double byte character support is usually enabled at the database level by specifying UTF-8 Codeset when creating the database:
CODESET UTF-8 COLLATE USING IDENTITY_16BIT
The territory code only affects the default of built-in client on the server and does not affect the ability to support multiple languages in the database server.

Column Considerations for Double-Byte Support
When storing "double-byte" characters in a UTF-8 database, you should allow for column lengths that are about 3 times the normal length (this is only necessary if you actually store Japanese, Korean, Simplified Chinese, Traditional Chinese characters in a column). Unfortunately, the amount of space needed varies by character, and cannot be exactly determined in advance. For this reason, you should normally use VARCHAR for columns that can have both single and double-byte characters in them (such as English and Japanese).

Enabling Double-Byte Support at the Table Level
You can enable double-byte character sets at the table level (on a non UTF-8 database) by specifying UNICODE when creating the table, but there are some extreme limitations that usually make this impractical (see the UNICODE parameter in CREATE TABLE in the SQL Reference Vol. 2).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On