Encoding problem in aspx/html files
<p>I am developing a website in ASP.NET. I am facing a problem while I am trying to read the values from an <code>.aspx</code> page(using <code>jsonp</code>). I tried seeing this problem using Firebug and it was showing an error in one of my <code>html</code> files. Here's the screenshot: <a href="http://i.stack.imgur.com/GlQjC.jpg" rel="nofollow">http://i.stack.imgur.com/GlQjC.jpg</a></p>

<p>I checked the respective <code>html</code> file and it was correct (according to me) except that I remember Visual Studio giving me some prompt regarding some encoding after which I saved the file. This was probably because this html file came from a Linux system. Here's my html file: <a href="http://pastebin.com/V3f6KDSa" rel="nofollow">http://pastebin.com/V3f6KDSa</a></p>

<p>Can there be such a problem because I then checked in Google Chrome too and it was giving an error as shown in this screenshot: <a href="http://i.stack.imgur.com/h67Me.jpg" rel="nofollow">http://i.stack.imgur.com/h67Me.jpg</a></p>

<p>I didn't see any error in this html file. I am guessing this encoding might be the error but there could some other problem too. I am trying to read the output of a <code>menu.aspx</code> using <code>getJSON</code>.
The output on my <code>menu.aspx</code> page is something like:</p>

<p><code>foo({"1":"Jeff","2":"Mic","5":"Mark"});</code> in html form using this <code>.cs</code> code </p>

<pre><code>outputText += Convert.ToString(k.GetValue(0));
            for (Int32 i = 1; i &lt; k.Length; i++)
            {
                outputText += "," + Convert.ToString(k.GetValue(i));
            }
            //
            outputText += "}" +");";

            Response.Write(outputText);
</code></pre>

<p>Please suggest something to resolve this. </p>
