Home  >  Article  >  Database  >  Linux平台下Oracle9i数据库正确显示中文的设置

Linux平台下Oracle9i数据库正确显示中文的设置

WBOY
WBOYOriginal
2016-06-07 16:51:36979browse

今天在Linux AS3下装了个Oracle9i,装的时候是英文的界面,启动数据库后发现,查询不能正确显示中文,终于找到了解决办法,其实就是设置下语

今天在Linux AS3下装了个Oracle9i,装的时候是英文的界面,启动数据库后发现,查询不能正确显示中文,终于找到了解决办法,其实就是设置下语言。

在.bash_profile文件中加上一句:

export NLS_LANG="AMERICAN_AMERICA.UTF8"

重启下就Oracle9i数据库可以正确显示中文了。

linux

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