problem
Both the dawn PLSQL configured with Oracle, but in PLSQL When you insert data, there is a problem, PLSQL table can not be displayed in Chinese, Chinese can not be saved, not output, Chinese display a question mark in the table, as shown:
the reason
After a check and found the source of the problem not appear on the PLSQL, but appear on our Oracle, because of our Oracle database character set does not support the cause of Chinese, since we know the reason, it is easy to handle, we Oracle will configure our character set, so that he supported Chinese.
Solution
Oracle 11g is my version, below In my example, I set the course for the next explanation.
step one
Start - Run - type regedit- enter into the registry, click HKEY_LOCAL_MACHINE ---> SOFTWARE ---> ORACLE ---> KEY_OraDb11g_home1 (are not the same show different versions of Oracle, but will include the word home ), find the "NLS_LANG", to see if the value data for: "SIMPLIFIED CHINESE_CHINA.ZHS16GBK", if not it will be set to "SIMPLIFIED CHINESE_CHINA.ZHS16GBK."
Figure
Step Two
After setting the registry, then we set the environment variable, computer (right) ---> Properties ---> Advanced System Settings ---> Advanced ---> Environment Variables ---> New, a new personal recommendations user variables, enter the variable name: "NLS_LANG", the value of the variable input: "SIMPLIFIED CHINESE_CHINA.ZHS16GBK". And click OK, this is over we set.
Figure
effect
Here's a look at our results, close PLSQL, restart, Chinese and sure enough there was,