Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1069

Classic ASP and UTF-8

$
0
0

I'm changing my application to work with utf-8 pages.So every ASP page has this code

Response.CodePage = 65001 Response.CharSet = "utf-8"

And HTML

<meta charset="UTF-8" /><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />

I saved all documents in Visual Studio 2013 with encode UTF-8 (without signature) 65001.

This is working fine when I write special characters in HTML like this:

<p>Atenção</p>

But when I write in VBScript (classic ASP) it's not working and the special characters are messy. I can fix them by saving the document (.asp) with encode UTF-8 (with signature) 65001.

So, my questions are:

  • Do I have to use this encoding (with signature) on every page?
  • What kind of problems could I have with it?

Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>