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: Andy Hassall <andy@andyh.co.uk>
Date: Mon Oct 31 2005 - 21:43:29 CET

On 31 Oct 2005 08:57:21 -0800, "Ciaran" <ciaranmcnulty@gmail.com> wrote:

>* 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.

 It is a far better idea to send a true Content-type header, using header().

-- 
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Received on Mon Nov 21 02:53:47 2005