Re: character encoding problem - £ (pound) sign
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: character encoding problem - £ (pound) sign

From: Ciaran <ciaranmcnulty@gmail.com>
Date: Mon Oct 31 2005 - 17:57:21 CET

The problem is indeed a character set one.

* Firstly, you need to have a HEAD element in your HTML. HEAD and
TITLE are not optional. This isn't really part of the problem though.

* Secondly, you should put the following in your HEAD:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
/>
This will tell user agents what charset the page is being presented in,
rather than them having to guess. In the majority of cases this will
also govern which character set the form submission takes place in.
It's always a good idea to specify your charset in the page.
Received on Mon Nov 21 02:53:41 2005