HTML encode problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
morris520
Forum Commoner
Posts: 60
Joined: Thu Sep 18, 2008 8:56 pm
Location: Manchester UK

HTML encode problem

Post by morris520 »

Hi guys

could any one let me know why this's happening? - the pound sige is not correctly displayed when I pass it into a function.

Looks like something with my encode settings.

Attached is my html codes.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
Thanks for help
Attachments
29-03-2010 00-08-57.png
29-03-2010 00-08-57.png (1.12 KiB) Viewed 81 times
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: HTML encode problem

Post by requinix »

A single £ doesn't explain 6 of those <?> characters.

Haven't given us much to go with...
Post Reply