Oracle database insert garbled question marks inserted into the Chinese data show solution

 Question 1: inserting data into question marks in Chinese (distortion).

 

Solution:

Computer -> Properties -> Advanced System Settings -> Environment Variables -> New (system variables)
Variable name: the NLS_LANG      value: SIMPLIFIED CHINESE_CHINA.ZHS16GBK

Restart Oracle services, testing, problem solving:

 

Question 2: use on other computers PL / SQL Developer Oracle remote connection service, Chinese data still appear as question marks (garbled)

Solutions and exactly the same as above, is added to the new environment variable:

Variable Name: NLS_LANG Variable value: SIMPLIFIED CHINESE_CHINA.ZHS16GBK
consistent with the value of the variable value can be set in a remote server

 

Published 23 original articles · won praise 6 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_42046751/article/details/100678154