Plsql:[1]plsql Chinese characters, display question mark

Source: Internet
Author: User



PLSQL executes the SQL statement, does not recognize Chinese, the output Chinese title is displayed as a question mark????

Tools/Materials
    • Plsql Developer 9

Method/Step
  1. 1

    Login Plsql, execute the SQL statement, the output of the Chinese title is displayed as a question mark???? If the condition contains Chinese, no data output

  2. 2

    Enter SQL statement SELECT * FROM V$nls_parameters view character set to see if the first row value value is Simplified Chinese

  3. 3

    Go to the registry, click HKEY_LOCAL_MACHINE--->SOFTWARE---> Oracle--->home (the small codec is Oracle 11g, shown here as Key_oradb11g_home1), Locate Nls_lang to see if the value data is: Simplified Chinese_china. Zhs16gbk

  4. 4

    If none of the above settings are a problem, look at the settings for the environment variable, see if there is a variable nls_lang, or create a new variable

  5. 5

    New variable, set variable name: Nls_lang, Variable value: Simplified Chinese_china. ZHS16GBK, sure you can.

  6. 6

    Exit Plsql and re-login to Plsql. Input SQL statement, execute, Chinese title finally normal display, also have data output


PLSQL executes the SQL statement, does not recognize Chinese, the output Chinese title is displayed as a question mark????

Tools/Materials
    • Plsql Developer 9

Method/Step
  1. 1

    Login Plsql, execute the SQL statement, the output of the Chinese title is displayed as a question mark???? If the condition contains Chinese, no data output

  2. 2

    Enter SQL statement SELECT * FROM V$nls_parameters view character set to see if the first row value value is Simplified Chinese

  3. 3

    Go to the registry, click HKEY_LOCAL_MACHINE--->SOFTWARE---> Oracle--->home (the small codec is Oracle 11g, shown here as Key_oradb11g_home1), Locate Nls_lang to see if the value data is: Simplified Chinese_china. Zhs16gbk

  4. 4

    If none of the above settings are a problem, look at the settings for the environment variable, see if there is a variable nls_lang, or create a new variable

  5. 5

    New variable, set variable name: Nls_lang, Variable value: Simplified Chinese_china. ZHS16GBK, sure you can.

  6. 6

    Exit Plsql and re-login to Plsql. Input SQL statement, execute, Chinese title finally normal display, also have data output


Plsql:[1]plsql Chinese characters, display question mark

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.