Oracle Client Language garbled

Source: Internet
Author: User

After the local Oracle connection is created, the default is the GBK character set, if the connection server is not the same GBK character set will appear in Chinese garbled problem, this situation we need to modify the local character set to match the server.

modifying through the registry
Hkey_local_machine/software/oracle/home0
Nls_lang change to the character set you want.



Setting environment variables

Add environment variable---Nls_lang to the character set you want



Common character Sets
American_america. We8iso8859p1
Simplified Chinese_china. Zhs16gbk
American_america. Al32utf8

Simplified Chinese_china. Us7ascii

American_america. Us7scii
AMERICAN _ AMERICA. Zhs16gbk

American_america.utf8



 Now, introduce some of the Nls_lang parameters related to the character set,
Nls_lang format:
Nls_lang = Language_territory.charset
There are three components (language, geography, and character set), each of which controls the characteristics of the NLS subset. Where: language Specifies the language of the server message.
territory specifies the date and number format for the server.
CharSet specifying a character set
For example:
American_america. Us7scii
AMERICAN _ AMERICA. Zhs16gbk
There are also subsets that define the Nls_lang parameter more clearly:
DICT. Base data dictionary base table version
Dbtimezone Database Time Zone
Nls_language language
Nls_territory Region
Nls_currency Local currency characters
Nls_iso_currency ISO Currency character
Nls_numeric_characters small number symbol and component separated
Nls_characterset Character Set
Nls_calendar Calendar System
Nls_date_format the default date format
Nls_date_language Default Date language
Nls_sort character sort sequence
Nls_time_format Time Format
Nls_timestamp_format timestamp format




This article from "There is nothing, know in Providence" blog, please be sure to keep this source http://yangsj.blog.51cto.com/8702844/1697075

Oracle Client Language garbled

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.