SQL> select col_name from table_name where rownum <= 1;
col_name
--------------------------------------------------------------------------------
¸ñ귎Ϊʯҩ¼¯΅mRNAт¹ےࠃ萮Ŀ802³µ¼乄լ¾»»¯ůͨ¹¤³̡£
SQL> select userenv('language') from dual;
USERENV('LANGUAGE')
----------------------------------------------------
AMERICAN_AMERICA.ZHS16GBK
echo 'export NLS_LANG="AMERICAN_AMERICA.ZHS16GBK"'>>/etc/profile && source /etc/profile
Check your terminal settings with locale charmap
or echo $LANG
and verify if it matches with ZHS16GBK
.
It is not required to use the same character set as your database. Using NLS_LANG=AMERICAN_AMERICA.AL32UTF8
and UTF-8 in your terminal will also work. It is important that NLS_LANG
matches your terminal character set.