Our web site consists of a settings.asp file which stores constants used throughout our web site. Here is a snippet of code from this file
<%
private const scCurSign = "£"
%>
We have other ASP files which include the above settings.asp to access these constants. Here is a code snippet from one of the related ASP files:
<!-- #include virtual="settings.asp" -->
<h1><%= scCurSign %></h1>
When executing the above code the currency symbol is not displayed. I've tried resetting the encoding on the settings.asp file to UTF-8. After I do this I am able to get the currency symbol to display for the first page view. Subsequent page views display a different high-ascii character, however, although the contents of the settings.asp page are not modified.
Anyone have any idea what could be causing this? This only started happening after we switched hosting companies. These same ASP files worked perfectly prior to the switch.
Start Free Trial