utf-16 with XML

  • Thread starter Abdulfatah A. Reslan
  • Start date
A

Abdulfatah A. Reslan

Dear Sir:

i develp web service by using C# this web service have 2 web method wich
return some information on XML format.
the problem is the XML information returned by web method contain utf-16
encoding in first line , this first line:

<?xml version="1.0" encoding="utf-16"?>

but when web method invoked or run from other web site or application the
utf-16
replaced with utf-8,

please help me how i can retrive the utf-16 encoding from my web method
 
A

Abdulfatah A. Reslan

Dear Sir
in order to change the utf form 8 to 16 i can open the XML file for the file
ClassDiagram.cd the first line inside this file is
<?xml version="1.0" encoding="utf-8"?>
then i changed it to
<?xml version="1.0" encoding="utf-16"?>

but when i invoke the method locally i found the error: WebMethod not found
and when i return back utf-8 inside this file the method run normally

please help me what i have to do to solve this problem???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top