B
burnsy2000
We are running ASP classic on IIS 5 on W2k SP4. We recently added <%
Response.charset="utf-8"%> to the top of all our pages (as suggested by
validator.w3.org). A problem arose on a page which applies
Server.HTMLEncode to a field that was inputted from the user. The
problem is that when the user enters a phrase such as:
My Fiancé
The Server.URLEncode returns the value:
My Fiancé
which doesn't appear correct. When I take out the <%
Response.charset="utf-8"%> line, it returns
My Fiancé
which displays correctly. Am i ok to just leave out the <%
Response.charset="utf-8"%> line, or should I use a different charset?
or is there some other fix?
Response.charset="utf-8"%> to the top of all our pages (as suggested by
validator.w3.org). A problem arose on a page which applies
Server.HTMLEncode to a field that was inputted from the user. The
problem is that when the user enters a phrase such as:
My Fiancé
The Server.URLEncode returns the value:
My Fiancé
which doesn't appear correct. When I take out the <%
Response.charset="utf-8"%> line, it returns
My Fiancé
which displays correctly. Am i ok to just leave out the <%
Response.charset="utf-8"%> line, or should I use a different charset?
or is there some other fix?