How to enable Oracle clients to display Chinese

Source: Internet
Author: User

The character set of Oracle is determined by the parameter Nls_lang:

The Nls_lang parameter consists of the following parts:

Nls_lang=<language>_<territory>.<clients characterset>

Nls_lang the meanings of each part are as follows:

language specifies the language to use for Oracle messages, the month and day display formats for dates

Territory specify currency and number formats, regions, and the habit of calculating week and date

CharacterSet controlling the character set used by client applications

So how do you get Oracle's client to display Chinese? The premise is that Oracle's character set is super-supported in Chinese character sets, and our common character sets are GBK and UTF8

Then we define the Nls_lang variable at the OS level to support Chinese, which is not enough, we have to keep the character set of the server, client, system, and terminal we use consistent.

Nls_lang we generally have the following two choices, these 2 options corresponding to the terminal font also need to make corresponding adjustments:

Export nls_lang= ' simplified Chinese_china.al32utf8 ' corresponding terminal font to UTF8

Export nls_lang= ' simplified CHINESE_CHINA.ZHS16GBK ' corresponding terminal font to GBK


How to enable Oracle clients to display Chinese

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.