Home » RDBMS Server » Server Administration » how to convert non unicode to unicode (through application)?
how to convert non unicode to unicode (through application)? [message #167773] Mon, 17 April 2006 01:22 Go to next message
anandhi
Messages: 31
Registered: April 2006
Location: Chennai
Member
Hi

I just want to know how to convert the non unicode data to unicode data in the application side (any application). Please help me its urgent!!!

Thanks
Anu
Re: how to convert non unicode to unicode (through application)? [message #167918 is a reply to message #167773] Mon, 17 April 2006 22:21 Go to previous message
markmal
Messages: 113
Registered: April 2006
Location: Toronto, Canada
Senior Member
your request sounds confusing. If you need to convert to unicode in application, why do you ask how to make it in Oracle? You should use Java or C++ or Perl or C# or... whatever language/library functionality.

If you need to do that in Oracle you can use CAST function to convert data to NVARCHAR/NCHAR types.
example:
col binary_of_nonunicode newline

select cast( 'nonunicode text' as Nvarchar2(20)) Unicode_text,
dump('nonunicode') binary_of_nonunicode,
dump( cast( 'nonunicode text' as Nvarchar2(20)) ) binary_of_unicode
from dual;
Previous Topic: scp
Next Topic: DEV 2000 Rel 2.1 and Oracle 9i EE in Windows 2000
Goto Forum:
  


Current Time: Fri Sep 20 13:44:19 CDT 2024