£ sign displaying A^ in front

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • janie678
    New Member
    • Jun 2007
    • 1

    £ sign displaying A^ in front

    Hi, very new to php. My £ signs are all displaying weird characters instead of £ symbol. I tried &pound but still not working. I'm using utf-8.

    Can anyone help.

    Jan
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, janie678. Welcome to TSDN!

    Make sure you set your character encoding in your HTML document. Most browsers will default to using ISO-Latin-1 (or something like that).

    The Web Standards Project is a grassroots coalition fighting for standards which ensure simple, affordable access to web technologies for all.


    Moving to the HTML/CSS forum....

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      It looks like you are missing the semicolon at the end.

      However, with utf-8, you should use the character entity reference instead:
      £

      Comment

      Working...