Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to convert String to utf 8 or utf 16?

2 views
Skip to first unread message

chris

unread,
Aug 14, 2006, 12:06:01 AM8/14/06
to
HI
when i use the bdpDataAdapter1.DataSet.GetXml(), this would return the xml
string. HOwever, the database is stored using UTF16. Hence when the xml
string is returned, the chinese characters are not shown.
Please advice on how to convert the string to a unicode string.
In delphi, i can use the UTFEncode and UTFDecode function but in C#?? is
there such functions?

thanks
chris


0 new messages