Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 04, 2013 02:03 PM by kushalrdalal
Member
16 Points
78 Posts
Jan 04, 2013 08:48 AM|LINK
Hi,
I wrote one rest service returning xml format output.it's showing by default content type text/html and utf-8 fromat.How to change that content in my code.please tell me i need to change my utf-8 format as ISO-8859-1.
Please let me know...
Contributor
7128 Points
1270 Posts
Jan 04, 2013 02:03 PM|LINK
Check this link -
http://www.codeproject.com/Articles/6515/Using-Character-Encoding-in-ASP-NET
You can change the xml document encoding before you send it to client.
venkateswara...
Member
16 Points
78 Posts
How to change my content type in wcf service method?
Jan 04, 2013 08:48 AM|LINK
Hi,
I wrote one rest service returning xml format output.it's showing by default content type text/html and utf-8 fromat.How to change that content in my code.please tell me i need to change my utf-8 format as ISO-8859-1.
Please let me know...
kushalrdalal
Contributor
7128 Points
1270 Posts
Re: How to change my content type in wcf service method?
Jan 04, 2013 02:03 PM|LINK
Check this link -
http://www.codeproject.com/Articles/6515/Using-Character-Encoding-in-ASP-NET
You can change the xml document encoding before you send it to client.
My Blog
LinkedIn Profile