Oracle 11g Chinese garbled solution one

Oracle Chinese garbled solution After the
normal installation of the Oracle client, when inserting data, it is found that all Chinese are question marks.
Enter select userenv('LANGUAGE') From Dual in PLL/SQL, the result is AMERICAN_AMERICA.US7ASCII, and NLS_LANG
under [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraClient10g_home] in the registry is
SIMPLIFIED CHINESE_CHINA.ZHS16GBK.
Solution:
My Computer---Right Click---Properties---Advanced---Environment Variables---System Variables---New
Variable Name: NLS_LANG
Variable Value: SIMPLIFIED CHINESE_CHINA.ZHS16GBK
Now try to insert data

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326337932&siteId=291194637