PL/SQL客户端字符集与服务端字符集不一致

启动PL/SQL Developer 报字符编码不一致错误
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_Oracle_10g.
打开注册表,通过命令regedit。找到到文中提示的路径(64位的系统路径:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE),发现NLS_LANG键的值为:
SIMPLIFIED CHINESE_CHINA.ZHS16GBK
修改为:SIMPLIFIED CHINESE_CHINA.AL32UTF8即可

猜你喜欢

转载自episode.iteye.com/blog/2218005