Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Response.Write does not show & encode html tags correctly

$
0
0

Hi,

I faced a confusing issue with my new installation of Windows 10 and IIS that comes with it.

The issue is that Response.Write and also <%=varname%> outputs html tags so that all  "<"-signs and

">"-signs in the tags are replaced by the following character-combination: "+ADw-". 

Thus, browsers do not present html correctly.

For example, Response.Write("<div>hello</div>") outputs the following: +"ADw-div+AD4-hello+ADw-/div+AD4-"

Can anyone say what is the cause of this issue and how to fix it?

Regards,

Matti


Viewing all articles
Browse latest Browse all 488

Trending Articles



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