This content has been marked as final. Show 8 replies
8.1.7 and Windows?? I don't recall off the top of my head. There is a lot of unicode information in the Globalization Manual for Oracle 9iR2 (see http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96529/ch5.htm#1019808). Also there is a globalization discussion forum at http://forums.oracle.com/forums/forum.jsp?id=452569 that may help you while I try to find out.
My understanding is that the Oracle Globalization team suggests viewing Unicode data in 8.1.7 using command line SQL*Plus to generate HTML. The SQL*Plus command SET MARKUP HTML ON makes SQL*Plus generate HTML. Set NLS_LANG to <language>_<territory>.UTF8 beforehand to get the correct character mapping. Use Internet Explorer with an encoding of UTF-8 to display the HTML.
The web based iSQL*Plus interface available with Oracle 9i makes this easier. You would need to set NLS_LANG to <language>_<territory>.UTF8 before you start the HTTP listener.
The 9i Globalization documentation shows that recent versions of Oracle handle Unicode overall better than 8.1.7.
These are the following steps to perform to enable the client SQL*Plus (command line and GUI) and SQL*Worksheet to display the euro currency symbol correctly for example...
1) Search from the top of the registry (regedit) for ALL occurrences of NLS_LANG and make the value AMERICAN_AMERICA.WE8MSWIN1252.
2) Go to the following registry entry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\ACP
and change the active code page (ACP) to 1252. If there is an OEMACP entry there change that also to 1252.
3) Reboot the PC
To test .. go to DOS and enter at the prompt..
Active code page: 1252
If the above message IS NOT 1252 you must have missed editting the registry entry
explained above. However you can change it for this session by entering
- < Set font to Lucida Console (in Properties, Font tab) >
To get the UNICODE characters you want insert into the database do the following
You will see a display of different characters.
If you click on advanced view at the lower right corner a search screen comes up. Enter UNICODE for the character set, ALL for group by and EURO for the search for and the euro currency symbol will come up. This is one way how the user can enter this character into the app. You can copy the character in this function as you can see and then you can paste it elsewhere. Copy whatever character you want to test with. My test was with the euro curreny symbol.
SQL*Plus: Release 22.214.171.124.0 - Production on Fri Jul 13 13:22:19 2001
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to: Oracle8i Enterprise Edition Release 126.96.36.199.0 - Production
With the Partitioning option JServer Release 188.8.131.52.0 - Production
SQL> create table t (a char(3));
SQL>insert into t values ('');
1 row inserted. SQL>
SQL> select * from t;
If the all the registry edits were performed correctly this will work with
SQL*Plus GUI and SQL*Worksheet.
Check these notes# 132453.1, 152260.1 & 158577.1 out on metalink also for further details.