Query regarding Multilingual Database [message #531427] |
Wed, 16 November 2011 01:47 |
|
orapratap
Messages: 134 Registered: November 2011 Location: Canada
|
Senior Member |
|
|
Hello,
For setting multilingual database which will have application data in Japanese I am preparing as follows
Please confirm my understanding
The database server is Linux and database is 10g (10.2.0.4)
For storing Japanese characters in the database I am creating a database with AL32UTF8 character set
1) Do I need to change any settings on the Linux server just for handling Japanese characters?
(In case it would have been windows database server would I need to change regional settings and/or any other OS settings to Japan etc?)
2) Assuming that a Japanese character will not fit in a single byte and default for semantic for char and varchar being byte, do
I need to change nls_length_sementic to char?
3) Apart from some more space requirement and performance impact on string functions will it cause any other adverse effect?
4) Are the points in question 3) above are true even in case I would select Japanese character set -say JA16SJIS, instead of super UTF compliant AL32UTF8?
What would be advantage of using AL32UTF8 over using Japanese specific character set?
5) Do I need to set nls_lang on the Linux server?
6) Users will be connecting to Linux server using putty or sqlplusw from windows
Which operations will need the client to set nls_lang? To what value?
7) Apart from setting nls_lang on the client (if needed) as in question 6), are any settings needed on the client for inserting and displaying Japanese characters?
e.g. regional setting, font setup, codepage setup
Thanks in advance
Pratap
|
|
|
|
|
|
Re: Query regarding Multilingual Database [message #531437 is a reply to message #531435] |
Wed, 16 November 2011 03:03 |
|
orapratap
Messages: 134 Registered: November 2011 Location: Canada
|
Senior Member |
|
|
Hello Michel
you said
Quote:
If his Windows is not configure to handle Japanese characters then he can't insert or select those characters.
That's exactly what I am looking for
What to configure on windows for handling Japanese characters?
regional settings, font setup, code page or nls_lang?
Same is for point 2) in which I want to know what configuration is required in putty e.g. character class, font?
Point 3 is too confusing for me especially after reading the link
h t t p : / / download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch3globenv.htm#i1005949
you said
Quote:
Use NLS_LANG that matches the database character set
and Extract from theabove link is
Quote:
Should the NLS_LANG Setting Match the Database Character Set?
The NLS_LANG character set should reflect the setting of the operating system character set of the client. For example, if the database character set is AL32UTF8 and the client is running on a Windows operating system, then you should not set AL32UTF8 as the client character set in the NLS_LANG parameter because there are no UTF-8 WIN32 clients. Instead, the NLS_LANG setting should reflect the code page of the client. For example, on an English Windows client, the code page is 1252. An appropriate setting for NLS_LANG is AMERICAN_AMERICA.WE8MSWIN1252
May be I am missing he context. Please suggest
Regards,
Pratap
P.S: Can't insert link.
I am getting an error 'You cannot use links until you have posted more than 5 messages'
|
|
|
Re: Query regarding Multilingual Database [message #531440 is a reply to message #531437] |
Wed, 16 November 2011 03:49 |
|
Michel Cadot
Messages: 68729 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote:What to configure on windows for handling Japanese characters?
regional settings, font setup, code page
This is a Windows question you should post in a Windows forum, here, in an Oracle forum, I can just tell you this is not NLS_LANG that will make your OS understand Japanese characters. NLS_LANG must reflect your OS code page.
Quote:Same is for point 2) in which I want to know what configuration is required in putty e.g. character class, font?
Didn't I answer to this? Have a look at the supported language in the box I mentionned, it will be obvious the one you have to use.
Point 3), documentation gives the general advice for client settings (and I said the same thing in the first paragraph of this post) but in case of export as you don't want to read the dump file just import it, use the character set of the database to avoid unexpected character conversions. It does not matter in this specific case that it does not match the OS character set as you will not read the file yourself.
Regards
Michel
|
|
|