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

No comments:

Post a Comment