pound sign trouble

  • Thread starter Thread starter jaems
  • Start date Start date
J

jaems

my code

<font size="2">Approx </font>&nbsp;£&nbsp; which I intend to display as:


Approx £

Displays as

Approx £

Any help welcome

Jaes
 
jaems said:
my code

<font size="2">Approx </font>&nbsp;£&nbsp; which I intend to display as:


Approx £

Displays as

Approx £

Any help welcome

Jaes

You have a mismatch between the codepage being used to encode the response
(which appears to be 65001 UTF-8) and the CharSet being sent to the
compilier which should be UTF-8 but in this case isn't.

Try adding ResponseEncoding="UTF-8" to the <%@ page line.

Alternatively the file has been saved as UTF-8 but is believed to be
Windows-1252.

In the ASP.NET Configuration Settings (from IIS manager) check the
Globaliszation settings on the Application Tab. You should ensure that
files are saved in the encoding that the File encoding field indicates. If
a file deviates from this it should indicate the codepage used with the
codepage page attribute.
 
Thanks for your help but adding

<%@ Page Language="VB" Debug="true" ResponseEncoding="UTF-8"
MaintainScrollPositionOnPostback="true" %>

did not work

nor when I tried Windows-1252.

I do not understand the bit about ASP.NET Configuration Settings (from IIS
manager)

How do I change those?

Jaes
 
my code

<font size="2">Approx </font>&nbsp;£&nbsp; which I intend to display as:


Approx £

Displays as

Approx £

Any help welcome
Try

<font size="2">Approx </font>&nbsp;£&nbsp;
 
Back
Top