查询server段字符集
select userenv('language') from dual
查询client段字符集
select * from v$nls_parameters
NLS_LANGUAGE SIMPLIFIED CHINESE
NLS_TERRITORY CHINA
NLS_CHARACTERSET ZHS16GBK
ZHS16GBK即是字符集
或者win+R>regedit>
NLS_LANG SIMPLIFIED CHINESE_CHINA.ZHS16GBK
ZHS16GBK即是client端的字符集
除此之外,配置环境变量
client端和server端字符集一致避免乱码