Script URL: http://www.pyner.org.uk/GBook/gbook.php
Version of script: 1.5
Hosting company: Supanames
URL of phpinfo.php: No idea
URL of session_test.php: No idea
What terms did you try when SEARCHING for a solution: character, Mozilla
Write your message below:
Yesterday I downloaded the latest version of the script and am testing it out. When I view the guestbook in Opera or IE7 it looks fine, but in Mozilla I see some unusual characters at the top left of the screen when viewing or signing the guestbook.
They are ''. The ASCII codes for these characters appear to be 63, 187 and 63, and in Unicode Hex they seem to be 010F, 00BB and 017C.
Can anyone explain why they are appearing?
Thanks,
Viv
Strange characters in Mozilla
Hello Viv,
I'm not completely sure because in the post the exact error is not described, but if I remember well your problem is the same as described in the following post viewtopic.php?t=1602
Greetings,
Henrie
I'm not completely sure because in the post the exact error is not described, but if I remember well your problem is the same as described in the following post viewtopic.php?t=1602
Greetings,
Henrie
Try downloading GBook again and upload gbook.php again. Make 100% sure it is uploaded in ASCII mode.
I checked the demo GBook in FF and it doesn't show up there, but I do see them in your GBook.
I checked the demo GBook in FF and it doesn't show up there, but I do see them in your GBook.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Two replies
Thanks to both for the quick response.
Henrie, the error is that when I open my guestbook in Mozilla there are three characters, '', which appear at the top left of the screen. If I use IE7 or Opera these characters do not appear. I did check that link earlier but the problem page is no longer on the web, so I cannot see if the error is the same.
Klemen, I have downloaded GBook again and used FileZilla to upload gbook.php again, ensuring it is in ASCII mode, although MS Expression Web is set to upload php files as ASCII so the original file should have been uploaded correctly. The problem remains.
The only file I have amended is settings.php, as shown in the excellent instructions, and this was done in MS Expression Web. All of the files, except readme.htm, have been uploaded to the server, keeping the directory structure the same as when unzipped.
Viv
Henrie, the error is that when I open my guestbook in Mozilla there are three characters, '', which appear at the top left of the screen. If I use IE7 or Opera these characters do not appear. I did check that link earlier but the problem page is no longer on the web, so I cannot see if the error is the same.
Klemen, I have downloaded GBook again and used FileZilla to upload gbook.php again, ensuring it is in ASCII mode, although MS Expression Web is set to upload php files as ASCII so the original file should have been uploaded correctly. The problem remains.
The only file I have amended is settings.php, as shown in the excellent instructions, and this was done in MS Expression Web. All of the files, except readme.htm, have been uploaded to the server, keeping the directory structure the same as when unzipped.
Viv
Hello Viv,
I downloaded your guestbook page as html and then it gave errors in both Firefox and IE.
When I opened it in PSPad (my editor of choice) I saw the page was saved in UTF-8.
This conflicts with the setting of in the head of the html page.
When I changed this line to the strange characters were gone.
So the solution seems to be, open the file gbook.php and replace all instances of windows-1250 to UTF-8
Greetings,
Henrie
I downloaded your guestbook page as html and then it gave errors in both Firefox and IE.
When I opened it in PSPad (my editor of choice) I saw the page was saved in UTF-8.
This conflicts with the setting of
Code: Select all
<meta http-equiv="Content-Type" content="text/html;charset=windows-1250">
When I changed this line to
Code: Select all
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
So the solution seems to be, open the file gbook.php and replace all instances of windows-1250 to UTF-8
Greetings,
Henrie
Many thanks
Henrie,
Many thanks for solving the problem. I have just made the change you suggested in Expression Web and the strange characters have now disappeared.
All the best, Viv
Many thanks for solving the problem. I have just made the change you suggested in Expression Web and the strange characters have now disappeared.
All the best, Viv