plsql developer 编码不一致的提示,从gbk改为utf8

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\HOME0.

 修改本地oracle配置信息

打开注册表,通过dos命令regedit。找到到文中提示的路径,发现NLS_LANG键的值为:

SIMPLIFIED CHINESE_CHINA.ZHS16GBK

修改为:SIMPLIFIED CHINESE_CHINA.AL32UTF8即可

posted @ 2012-11-06 09:05  活在春天  阅读(3232)  评论(0)    收藏  举报