Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

pound sign trouble

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jaems - 10 Mar 2008 22:24 GMT
my code

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

Approx  £

Displays as

Approx £

Any help welcome

Jaes
jaems - 10 Mar 2008 22:44 GMT
Only started causing a proble since upgrade from VS2005 to VS 2008
Anthony Jones - 10 Mar 2008 22:56 GMT
> my code
>
[quoted text clipped - 9 lines]
>
> 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.

Signature

Anthony Jones - MVP ASP/ASP.NET

jaems - 12 Mar 2008 23:53 GMT
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
Registered User - 13 Mar 2008 01:11 GMT
>my code
>
[quoted text clipped - 7 lines]
>
>Any help welcome

Try

<font size="2">Approx </font>&nbsp;&#163;&nbsp;

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.