登陆Oracle的客户端PLSQL,结果给出了下面的提示: 
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.

desc table1;
然后可以看到Comment中N多的乱码!
select * from talbe2;
可以看到中文,
请问算不算是UTF-8到GBK的转换,然后出的乱码问题。怎么搞定?

解决方案 »

  1.   

    看一下: http://topic.csdn.net/t/20030710/20/2014176.html
      

  2.   

    哦,
    那页有两个部分,第一个部分看不大懂,第二个部分,我试了,没有效果 。1.查询服务器端配置的字符集。在sqlplus中以dba用户执行:   
      select   tab1.aa||'_'||tab2.bb||'.'||tab3.cc   from   (select   VALUE$   aa   from   sys.props$   where   name='NLS_LANGUAGE')tab1,(select   VALUE$   bb   from   sys.props$   where   name='NLS_ISO_CURRENCY')tab2,(select   VALUE$   cc   from   sys.props$   where   name='NLS_CHARACTERSET')tab3;