- Joined
- Apr 24, 2011
- Messages
- 1,235
- Reaction score
- 405
Hello,
When I put
into my page, it doesnt show the £ sign it shows a square box, any idea on how to fix this?
When I put
PHP:
£
£
It depends of the encoding of the page. Most likely a ISO-8859-1 encoded pound sign inside of a UTF-8 page.
Otherwise try using this £
header( 'Content-Type: text/html; charset=UTF-8' );
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
Try setting the page to UTF-8.
For PHP (PHP uses ISO-8859-1 by default):
PHP:header( 'Content-Type: text/html; charset=UTF-8' );
HTML:
Code:<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">