Monday, March 5, 2012

How to make UTF-16 as default encoding for WCF Data Services.


Some time we come to situation that we assume that we need to enable UTF16 as default response type in order to render character-set like Japanese and Chinese .

I came across the same situation but at the end of day what I found that UTF16 is not at all required to render Japanese and Chinese char-set. 

Default response type of WCF Data Services is UTF8 that can render any character and we really do not need to implement UTF16 unless end client only accept UTF16



More details can be found in original post at MSDN
http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataservices/thread/ee5b91a0-0cb1-469f-b6dd-ef222e3f4e93

No comments:

Post a Comment