- Database character set (AL32UTF8) and Client character set (ZHS16GBK) are different.
- Character set conversion may cause unexpected results.
- Note: you can set the client character set through the NLS_LANG environment variable or the NLS_LANG registry key in
- HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraClient11g_home2.
解決辦法:修改注冊表
- 打開注冊表,‘開始’-‘運行’ 輸入‘regedit’-確定。
- 找到提示中給出的路徑,
- 找到 NLS_LANG 鍵,他的值原來是:SIMPLIFIED CHINESE_CHINA.ZHS16GBK
- 修改為:SIMPLIFIED CHINESE_CHINA.AL32UTF8
- 重新打開plsql ,登錄,好了。