title: Getting U+fffd/65533 instead of special character from Query String
body: <p>I have a C# .net web project that have a globalization tag set to: </p>
  
  <pre><code>&lt;globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="nb-no" uiCulture="no"/&gt;
  </code></pre>
  
  <p>When this URL a Flash application (you get the same problem when you enter the URL manually in a browser): c_product_search.aspx?search=kjøkken (alternatively: c_product_search-aspx?search=kj%F8kken</p>
  
  <p>Both return the following character codes: </p>
  
  <pre><code>k U+006b 107
  j U+006a 106
  � U+fffd 65533
  k U+006b 107
  k U+006b 107
  e U+0065 101
  n U+006e 110
  </code></pre>
  
  <p>I don't know too much about character encoding, but it seems that the ø has been given a unicode replacement character, right? </p>
  
  <p>I tried to change the globalization tag to:</p>
  
  <pre><code>&lt;globalization requestEncoding="iso-8859-1" responseEncoding="utf-8" culture="nb-no" uiCulture="no"/&gt;
  </code></pre>
  
  <p>That made the request work. However, now, other searches on my page stopped working. </p>
  
  <p>I also tried the following with similar results: </p>
  
  <pre><code>NameValueCollection qs = HttpUtility.ParseQueryString(Request.QueryString.ToString(), Encoding.GetEncoding("iso-8859-1"));
  string search = (string)qs["search"];
  </code></pre>
  
  <p>What should I do? </p>
  
  <p>Kind Regards,</p>
  
  <p>nitech</p>