Home  >  Article  >  Database  >  PLSQLDeveloper中文显示乱码的解决方法_MySQL

PLSQLDeveloper中文显示乱码的解决方法_MySQL

WBOY
WBOYOriginal
2016-06-01 13:01:161545browse

PLSQL Developer中文显示乱码是因为Oracle数据库所用的编码和PLSQL Developer所用的编码不同所导致的。

解决方法:

1. 先查询Oracle所用的编码

select userenv('language') from dual;

2. 设置PLSQL 的所用编码为第1步查询得到的编码格式

新建一个环境变量: NLS_LANG

例如:


3. 重启 PLSQL 问题得到解决

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn