troubleshooting Question

HTML Pound Symblol incorrectly showing.

Avatar of billy_howard
billy_howard asked on
11 Comments2 Solutions269 ViewsLast Modified:
Hi Experts,

I am having troulbe with a project that I have just taken over.

The previous person who developed the website was rather lazy it would seem, and is not performing a HTML charicter conversion on input or output to/from the database.

This means that things like the £ pound sign show up badly and show up as "£" rather than just "£".

Now I know that I really do need to sort this out propperly, but the customer dosen't have the budget to allow me to go in and manually change each input or output to have a HTML char conversion on it.

Is there something that I can quickly do that will sort this out? For example is there some kind of javascript that I can implement that will change £ to £? Granted I could just do an update on the database and convert £ into £ but this method is horrible as things are updated often and would lead to bigger problems down the line.

Or is there perhaps some kind of HTML that I can use, to force the browser to parse the £ symbols propperly?

My current HTML header is included in code below, and to my knowledge that should allow me to temporarily view pound signs as £ rather than £.

Can you think of/suggest anything I can do?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html lang="en" xml:lang="en" xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros