Search:
Namespaces
Discussions
.NET v1.1
Feedback
ASP.NET can't read UTF-8 Data from Database properly
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngbeta' list
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Anski
Hi,
I am trying to read data from an Oracle Database using ASP.NET and C#.
The data is text in many different languages
(like Japanese, Russian etc.). The encoding is UTF-8.
Using "old" ASP everything works fine, but when using ASP.NET it seems
to try to read the data as unicode and screws it all up.
Is there a possibility to access the data in binary form, before it gets
screwed up? Or can I tell the system not to do anything to the data
in the DataSet?
I've tried all possible modifications in the config.web file and I don't
have an Oracle driver that supports unicode. I've also tried the
UTF8Encoding
and the
UnicodeEncoding
classes...nothing works, because
the Data is screwed up before I can get a hand on it.
Thanks,
Anski
Reply to this message...
Thomas Tomiczek (VIP)
Sorry to say, but this question is better asked in aspngdata - you try
to make it look like your problem is related to ASP.NET, but it's an
ADO.NET data access problem.
I would be very interested in the answer, too, but this is the wrong
mailing list, and Charles cares a lot about this.
Regards
Thomas Tomiczek
THONA Consulting Ltd.
-----Original Message-----
From: Anski [mailto:
Click here to reveal e-mail address
]=20
Sent: Samstag, 5. Mai 2001 12:15
To: aspngbeta
Subject: [aspngbeta] ASP.NET can't read UTF-8 Data from Database
properly
Hi,
I am trying to read data from an Oracle Database using ASP.NET and C#.
The data is text in many different languages
(like Japanese, Russian etc.). The encoding is UTF-8.
Using "old" ASP everything works fine, but when using ASP.NET it seems
to try to read the data as unicode and screws it all up.
Is there a possibility to access the data in binary form, before it gets
screwed up? Or can I tell the system not to do anything to the data
in the DataSet?
I've tried all possible modifications in the config.web file and I don't
have an Oracle driver that supports unicode. I've also tried the
UTF8Encoding
and the
UnicodeEncoding
classes...nothing works, because
the Data is screwed up before I can get a hand on it.
Thanks,
Anski =20
| [aspngbeta] member
Click here to reveal e-mail address
=3D YOUR ID
|
http://www.asplists.com/asplists/aspngbeta.asp
=3D JOIN/QUIT
Reply to this message...
System.Data.DataSet
System.Text.UnicodeEncoding
System.Text.UTF8Encoding
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com