Why doesn't IE parse the XML returned from a WCF Data Service?

后端 未结 4 2337
醉梦人生
醉梦人生 2021-02-20 18:24

I am currently running IE8 and am doing some testing with WCF data services. When I make a call to one of my collections in the browser I get the

\"You a

4条回答
  •  太阳男子
    2021-02-20 19:02

    Make sure you call

    response.setCharacterEncoding("text/xml;charset=utf-8");
    

    or the equivalent.

提交回复
热议问题