|
Author |
Message |
SteveW
Junior WebHelper
Joined: 07 Apr 2004
Posts: 3
|
Posted:
Wed Apr 07, 2004 11:06 am (20 years ago) |
|
Hi,
I have just moved to apache 2.0.48 and i have php 4.3.4, when i try to display the character £ or " or ' (and many others) they are replaced with the character '?'.
I presumed this was a problem with php, but i tryed a simple html file and it also came up with the same problem.
I have tried:
<?
header("Content-Type: text/html; charset=UTF-8");
echo " this is a £ pound";
?>
Its displays: this is a ? pound
I have been told " apache 2.0 httpd.conf file comes with default charset being set to iso-8859-1 which is bad! that charset can't deal with many things" And to use utf-8 instead. I look at the config file and both charsets are in there. Should i remove the iso-8859-1 or is there another main problem?
any help would be really appreciated. |
|
|
|
|
Robert Wellock
WebHelper
Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK
|
Posted:
Wed Apr 07, 2004 1:29 pm (20 years ago) |
|
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Wed Apr 07, 2004 3:29 pm (20 years ago) |
|
SteveW, please do not post the same thing in more than one forum. I've removed the other two posts. |
________________________________ It's turtles all the way down... |
|
|
|
Ben
Senior WebHelper
Joined: 08 Jan 2002
Posts: 431
Location: Liverpool - UK
|
Posted:
Thu Apr 08, 2004 11:52 am (20 years ago) |
|
Yep, remove it from httpd.conf and all will be well, annoyed the hell out of me too for a while. |
________________________________ Ben Scott
Red and White Kop |
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.381533 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |