阅读背景:

在C#Web服务中处理UTF-8字符串

来源:互联网 

I created a simple web service client using the C# tool wsdl.exe. It works fine except for one thing. It seems that UTF-8 strings returned in response are converted to ASCII. Using SOAPUI I can see normal UTF-8 encoded strings being returned by the web service. But when I debug the response I received the UTF-8 content seems to have already been converted to ASCII and is completely garbled. Where I should see a string containing Japanese characters I'm seeing a list of '?'.I created a simple web service client using the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: