Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in HTML CSS only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
HTML CSS
£ sign displaying A^ in front
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
janie678
New Member
Join Date:
Jun 2007
Posts:
1
#1
£ sign displaying A^ in front
Jun 19 '07, 07:51 AM
Hi, very new to php. My £ signs are all displaying weird characters instead of £ symbol. I tried £ but still not working. I'm using utf-8.
Can anyone help.
Jan
pbmods
Recognized Expert
Expert
Join Date:
Apr 2007
Posts:
5821
#2
Jun 19 '07, 02:33 PM
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).
Specifying Character Encoding - The Web Standards Project
http://www.webstandards.org/learn/articles/askw3c/dec2002/
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
Post
Cancel
drhowarddrfine
Recognized Expert
Expert
Join Date:
Sep 2006
Posts:
7434
#3
Jun 19 '07, 03:24 PM
It looks like you are missing the semicolon at the end.
However, with utf-8, you should use the character entity reference instead:
£
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment