Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which encoding should I use utf-16 or utf-8?
Message
From
26/05/2005 16:36:28
Keith Payne
Technical Marketing Solutions
Florida, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01017684
Message ID:
01017940
Views:
24
This message has been marked as a message which has helped to the initial question of the thread.
>We are going commence a project in .NET which will allow user submit XML document.
>Which encoding would be better to use if I were to write ASP.NET application to parse the xml through a Typed DataSet? Or does it matter?

Dawa,

You do not have to choose an encoding. When you serialize/deserialize methods, you specify a writer/reader object to handle the I/O. You can set the encoding property of this object independent of the XMLSerializer. If you use the XML reader and writer to perform the I/O, the encoding is completely transparent.

So you can make the encoding an option based on who is sending and receiving the xml documents.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform