Link to home
Start Free TrialLog in
Avatar of crescendo
crescendo

asked on

Showing British 'pound' signs in ASP.NET

I'm in the UK so I want to preface currency amounts with the pound (£) sign. In Visual Studio 2003 I hardcode the £ sign into statements like 'All values are in pounds sterling (£)' but when the page is displayed they don't appear. This is weird because they show up OK in Visual Studio, and also when currency values are displayed in a datalist. Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of john-at-7fff
john-at-7fff

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of crescendo
crescendo

ASKER

That seems to do the trick! I tried &gbp; but (obviously) it didn't work.

Thanks
Glad to help. By the way, I think older browsers (much older) may know a numeric version instead of the alpha sequence. The numeric code is: £

See, for instance, here:

http://super.net.pk/htmlref/characters.html