Solve the issue of garbled characters in Oracle PL Developer

Source: Internet
Author: User

We all know that garbled characters often occur in the actual operations of Oracle PL Developer. This problem has always plagued us and we hope to find a useful solution, the following article describes how to solve the Chinese garbled characters of Oracle PL Developer.

1.

 
 
  1. select * from v$nls_parameters 

Query nls parameters to obtain the character encoding of the database server.

 
 
  1. NLS_LANGUAGE  
  2. NLS_CHARACTERSET  

2. Modify local environment variables and set

 
 
  1. NLS_LANG = SIMPLIFIED CHINESE.ZHS16GBK 

This is the character encoding of our database.

Oracle PLDeveloper Chinese garbled solution: NLS_LANG format:

 
 
  1. NLS_LANG = language_territory.charset 

Has three components: language, region, and character set. Each component controls the NLS subset. Language indicates the language of the server message.

Territory specifies the date and number format of the server.

Charset

You can also change the corresponding registry key.

 
 
  1. HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_XE\NLS_LANG 

Ensure that the client character set must be consistent with the server character set. All of the above are solutions to change the Chinese garbled characters of Oracle PLDeveloper.

Related Article

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.