PDA

View Full Version : Server does not accept French characters


main3
12th September 2006, 01:18
Server does not accept French characters

Hello what would be the cause of this issue? Many applications like PHP-Nuke and PHPBB installed on the server gives us these weird characters. What would be the cause and how do I resolve them.

Example site. http://qcrevhosting.com/bf2/portal.php

Here is the server info for this site. http://qcrevhosting.com/phpinfo.php

Thank you

sjau
12th September 2006, 09:20
I'm currently struggling with this kind of thing also. It's a problem about the charset info. To display that site correctly you need the charset ISO-8859-16.

But how to solve this in general... I have no clue. Best thing probably is to use html entities which work like:

á
é
&oactue;
ê
î
...
...


http://www.htmlhelp.org/reference/html40/entities/

main3
13th September 2006, 01:10
I am not sure but I would rather fixe the Apache issue then rewrite Php nuke for my customer's. Any tips on this subject or where should I start looking.

Thank you

till
13th September 2006, 10:21
Try to set the default charset of your apache webserver with:

AddDefaultCharset UTF-8

If UTF-8 wont work, try to replace UTF-8 with the correct charset for your language, e.g. iso-8859-1.