What to set in order to select UTF8 character set in sqlplus?
465942Nov 9 2005 — edited Nov 18 2005We are using 9.0.1.
select * from nls_database_parameters;
NLS_CHARACTERSET = UTF8
LANGUAGE = AMERICAN
TERRITORY = AMERICA
Web page encoding is UTF8.
We can see traditional and simplied chinese characters on web page without problem.
When we want to select thru sqlplus, the problem comes.
At first, I set the default win2000 language to traditional chinese.
locales is Chinese (Hong Kong).
Ansi Code page becomes 950. reboot the machine
set NLS_LANG=TRADITIONAL CHINESE.HONG KONG=ZHT16MSWIN950 in registry
web page can show traditonal and simplied chinese characters, but sqlplus fails.
Then I set the default win2000 language to simplied chinese, set the locales
to Chinese (PRC). reboot the machine
set NLS_LANG to simplied chinese character set.
web page can show traditonal and simplied chinese characters, but sqlplus still fails.
I have even set the NLS_LANG to _.UTF8. sqlplus still cannot show proper character set. Only the web page is okay.
I have referenced Oracle globalization web pages. I follow everything. What should I try?