> I have recently moved a site over to a new server. Now certain
> characters are being replaced by weird characters. EG: the ' single
> quote is being replaced by a question mark and other characters are also
> affected. the information that contains these characters is inside a
> mysql database. The webserver is Apache and it is running on a linux, I
> have googled and found that it is an Apache PHP issue but have yet to
> come up with a solution. If anyone knows whats causing the problem and
> could help that would be great.

Most likely this is one of many occurences of the UTF problem. Try
adding the line
AddDefaultCharset iso-8859-1

to your httpd.conf, either within your vhost specification or by
replacing the main one. Then restart Apache. Should work.

If you don't have root access - try adding it to an .htaccess file,
but I don't know of this directive is allowed in there ..

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to