Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Accessing Shift-JIS data from dotnet
Hi,
I have a Oracle 8i database with its character set as Shift-JIS running on either a Japanese W2K or English W2K. I need to access it from a C# .NET application. I must use the MS ODBC driver for Oracle. I must run the application on a English Windows 2000 machine. The application uses MS DTC heavily.
The MS ODBC driver for Oracle does not support Unicode and is going to retrieve the Shift-JIS data and think that it is english (which might be a disaster). The driver manager/.NET is going to do its best to convert the Shift-JIS data (code page 932) to Unicode (UTF16) using the local code page (ISO8559 (or is it ISO8859)), and voila "you have another disaster".
There are couple of options:
Personally, I prefer option 1 but my clients dont. With option 2, I am worried about the distributed transaction related issues, pooling etc. I have very minimal knowledge of ADO.NET and taking up option 3 might lead to a delay in the delivery.
Can anyone suggest better ways of doing this? Or which of the above options from 1-3 is least troublesome.
Regards
zrb Received on Sat Sep 14 2002 - 03:17:10 CDT
![]() |
![]() |