title: Returning UTF-8 from a web service
body: <p>Previous: <a href="https://stackoverflow.com/questions/4479591/returning-info-from-a-web-service">Returning info from a Web Service</a></p>
  
  <p>I thought the previous answer made 100% sense, and I though I was out of the woods, but it still fails.</p>
  
  <p>An app I'm working with still seems to think what is being returned from the web service is ASCII encoded.  Debugging it shows:</p>
  
  <pre><code>&lt;Envelope&gt;&lt;Body&gt;&lt;ReturnOneResponse&gt;&lt;ReturnOneResult&gt;&amp;lt;xml version="1.0" encoding="UTF-8"&amp;gt;&amp;lt;Entry&amp;gt;&amp;lt;Symbol&amp;gt;PACR&amp;lt;/Symbol&amp;gt;&amp;lt;Company&amp;gt;Pacer International, Inc.&amp;lt;/Company&amp;gt;&amp;lt;MarketCap&amp;gt;$229.0M&amp;lt;/MarketCap&amp;gt;&amp;lt;PE&amp;gt;18.7&amp;lt;/PE&amp;gt;&amp;lt;Price&amp;gt;6.56&amp;lt;/Price&amp;gt;&amp;lt;Change&amp;gt;0.42&amp;lt;/Change&amp;gt;&amp;lt;PctChange&amp;gt;6.84%&amp;lt;/PctChange&amp;gt;&amp;lt;YTDChange&amp;gt;107.59%&amp;lt;/YTDChange&amp;gt;&amp;lt;/Entry&amp;gt;&lt;/ReturnOneResult&gt;&lt;/ReturnOneResponse&gt;&lt;/Body&gt;&lt;/Envelope&gt;
  </code></pre>
  
  <p>So everything being returned from the web service seems to be changed into ASCII, and seems to refuse to read as UTF-8.</p>
  
  <p>Since my previous code in the above link, I also changed my string invocation:</p>
  
  <pre><code>string value = @"&lt;?xml version=""1.0"" encoding=""utf-8""?&gt;";
  </code></pre>
  
  <p>Still, that didn't help.</p>
  
  <p>Any other ideas?</p>