Problem with french characters

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Diana
Posts: 2
Joined: Sat Aug 12, 2006 4:32 pm

Problem with french characters

Post by Diana »

Script : PHP guestbook (GBook)
Version of script: 1.43
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when searching for a solution:

Write your message below:

Hi!

I found your pretty script GuestBook and I installed it on my site.

I have problem with some french characters ( à è ...). they are transformed in &#232 or &#224 .

Excuse me for my bad english :)

Thank you for help me.

Diana from France
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Diana,

I can't check it as you have not given the link to your guestbook, but i guess the following topic handles the problem you are having.
viewtopic.php?p=3691#3691
So try searching the forum first.

But because the line number in the answer is specific for version 1.41 I will copy the answer for version 1.43

I think this is related to the charset that is used by the page.
GBook uses windows-1250
For pages that use special charachters use iso-8859-1 or utf-8.

Try the following:

Find this line in the gbook.php files (line 871 in version 1.43)

Code: Select all

<meta content="text/html; charset=windows-1250">
and change it to this

Code: Select all

<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
Greetings,
Henrie
Diana
Posts: 2
Joined: Sat Aug 12, 2006 4:32 pm

Ok is good !

Post by Diana »

Hi! Henrie,

I am sorry, I had sought on the forum with request "french characters" but I had not found this.

It would be necessary to add that in the assistance of the file to avoid new messages on this subject.

Thank you very much for your assistance. :wink:

I put your link in my web site " <a href="http://www.phpjunkyard.com"><img src="http://www.phpjunkyard.com/ban/88x31.gif" height="31" width="88" border="0" alt="Free PHP scripts for download"></a>"

My Web page is in construction on my personal server…

Still, thank you very much :)

Diana
Post Reply