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 > Informix > Informix Multilingual Database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-07-11, 23:41
edagostini edagostini is offline
Registered User
 
Join Date: Aug 2008
Posts: 7
Informix Multilingual Database

Dear All,
By any chance someone has a clear configuration on how to create a multilingual database using IDS 11.5FC8 ?

I've tried to setup a DB_LOCALE = en_US.UTF8 but does not seems to be working.

Regards,
Ed
Reply With Quote
  #2 (permalink)  
Old 04-11-11, 04:41
philrule philrule is offline
Registered User
 
Join Date: Apr 2011
Posts: 5
Hi,

What platform are you on, and what errors are you getting?

We have an 11.50 instance running on Windows with a database using the euro symbol. All that was required at the instance level was to set DB_LOCALE=EN_US.8859-15 before building the database. Depending on how you then access that database DB_LOCALE has to be set accordingly - for JDBC the url looks like this - /<server>:<port>/<database>:informixserver=<instance>;DB_LOCALE=EN_ US.8859-15
for dbaccess just set DB_LOCALE in the environment

You can mix as many DB_LOCALES as you want in the one instance, but you'll have to set up a separate environment to access each one.

HTH

Phil
Reply With Quote
  #3 (permalink)  
Old 04-11-11, 05:58
edagostini edagostini is offline
Registered User
 
Join Date: Aug 2008
Posts: 7
Hi Phil,
Thank you for you reply.
I am setting a version 11.5FC8 on AIX 6.1.
The problem is to get a database setup in order to atorage any language (e.g arabic, asian languages, as well as european ones).

Lets suppose the application will be receiveing any kind of language (Internet)
Some languages need to be stored in a 2/3 bytes like asiasn ones. Therefore, the datatype on the table needs to be defined as nchar or nvarchar to accomodate the values (Multibyte values). I have tried to setup en_us.utf8 and some other possible values for Locale but it keeps saying the value is not appropriate.

Regards,
Ed
Reply With Quote
  #4 (permalink)  
Old 04-11-11, 06:29
philrule philrule is offline
Registered User
 
Join Date: Apr 2011
Posts: 5
I think you need to look at Global Language Support, which I'm afraid I've not had any experience of (despite working with Informix for over 20 years!). It defintely does cater for multibyte character sets. Try this link - IBM Informix Dynamic Server v11.10 Information Center
Reply With Quote
  #5 (permalink)  
Old 05-18-11, 10:32
welkin welkin is offline
Registered User
 
Join Date: May 2011
Posts: 1
Have you set CLIENT_LOCALE = en_us.utf8 in your environment varibales?
If there is still problem, try to install ILS 3.50.MC5 package first.
And for supporting more utf-8 characters, set GL_USEGLU=1 too.

Quote:
Originally Posted by edagostini View Post
Hi Phil,
Thank you for you reply.
I am setting a version 11.5FC8 on AIX 6.1.
The problem is to get a database setup in order to atorage any language (e.g arabic, asian languages, as well as european ones).

Lets suppose the application will be receiveing any kind of language (Internet)
Some languages need to be stored in a 2/3 bytes like asiasn ones. Therefore, the datatype on the table needs to be defined as nchar or nvarchar to accomodate the values (Multibyte values). I have tried to setup en_us.utf8 and some other possible values for Locale but it keeps saying the value is not appropriate.

Regards,
Ed
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