命令行显示编码文本

时间:2013-12-29 06:49:46

标签: oracle command-line fonts character-encoding

我在俄罗斯购买了Windows 7 64位家庭高级版。我在其上安装了Oracle 11g,但每次使用命令提示符运行某些命令时,命令提示符都会显示编码或加密的文本,我无法读取...如下文所示:

C:\Users\elgin>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on ┬ё ─хъ 29 08:27:38 2013

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

╤юхфшэхэ ё яЁюёЄрштр■∙шь ¤ъчхьяы Ёюь.

SQL> startup
▌ъчхьяы Ё ORACLE чряє∙хэ.

Total System Global Area 1603411968 bytes
Fixed Size                  2176168 bytes
Variable Size            1040190296 bytes
Database Buffers          553648128 bytes
Redo Buffers                7397376 bytes
┴рчр фрээ√ї ёьюэЄшЁютрэр.
┴рчр фрээ√ї юЄъЁ√Єр.
SQL> exit
╬Єёюхфшэхэю юЄ Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
 Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

如何让命令提示符停止显示编码字符?

1 个答案:

答案 0 :(得分:3)

您需要设置以下参数。(环境变量)

set NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1;

注册表的其他方式:

HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\NLS_LANG