南山忍者 发表于 2013-1-14 08:39:18

NLS_LANG is not defined on the client.Character set conversion may cause unexpec

 
先说一下我的版本信息:OS-win7x64旗舰版,VS2010。
 
安装完Oracle11g、toad、PLSQL之后,toad可以正常使用,PLSQl不能正常使用,并在登陆之后出现:
 
NLS_LANG is not defined on the client.Character set conversion may cause unexpected results
 
解决方案:
 
运行中:输入:regedit,修改注册表。
注册表路径为HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_OraClient11g_home1,新建“字符串值(S)”项为“NLS_LANG”,值为“SIMPLIFIED CHINESE_CHINA.ZHS16GBK”。
 
如果OS版本为32位,则要修改:找到ORACLE\KEY_OraClient11g_homexx,右键新建“字符串值(S)”项为“NLS_LANG”,值为“SIMPLIFIED CHINESE_CHINA.ZHS16GBK。
 
参考文献:http://www.cnblogs.com/beautifulplanet/archive/2012/07/25/2607814.html
 
页: [1]
查看完整版本: NLS_LANG is not defined on the client.Character set conversion may cause unexpec