Non-english letters

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Endre

Non-english letters

Post by Endre »

Hi, I want to use the guestbook on a norwegian website, but the letters ø, æ and å are not supported.
When someone writes them in a comment, it looks crazy.

Can this be fixed?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Open gbook.php in a plain text editor, like Notepad or Wordpad and use the search function to find

Code: Select all

windows-1250
and then just change that to the Charset you are using, for example to

Code: Select all

iso-8859-1
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
kamala

problem when saving entries.txt in unicode encoding

Post by kamala »

Hi,
I would like to save the entries.txt in unicode encoding to include more characters. I tried changing gbook.php to include iso-8859-1 but it doesn't work.
When I save in unicode encoding the guestbook appears distorted and messed up.
The characters I would like to include are the accented n, m, s, r in Tahoma font.
Thanks for your help!
kamala

www.prabhatasamgiita.net
Fredrik

same problem - thanks

Post by Fredrik »

Had the same problem, but not anymore. Many thanks...
Alec_
Posts: 4
Joined: Wed Mar 08, 2006 7:11 pm

The same question

Post by Alec_ »

Klemen Stirn wrote:Hi,

Open gbook.php in a plain text editor, like Notepad or Wordpad and use the search function to find

Code: Select all

windows-1250
and then just change that to the Charset you are using, for example to

Code: Select all

iso-8859-1
Regards
Hello,
i have changed to the charset i am using. But when I open web page in browser it does not use my charset. What is the way out?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

In your browser go to "View" > "Encoding" and make sure "Auto-select" is checked.

If that doesn't work post the URL of your gbook here.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Alec_
Posts: 4
Joined: Wed Mar 08, 2006 7:11 pm

Post by Alec_ »

Klemen Stirn wrote:In your browser go to "View" > "Encoding" and make sure "Auto-select" is checked.

If that doesn't work post the URL of your gbook here.
Yes it is "auto-select" and it select "turkish (windows)" but i have in the script windows-1251. i will try to reinstall and then give URL
Alec_
Posts: 4
Joined: Wed Mar 08, 2006 7:11 pm

re: charset

Post by Alec_ »

url of my test guestbook is http://www.online-ul.com/gbook/
I am translating words from english to russian right in the script. may be i should create language file?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

It sets the correct encoding for me (cyrillic - Windows)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Alec_
Posts: 4
Joined: Wed Mar 08, 2006 7:11 pm

re:

Post by Alec_ »

don't know what is the glitch. if i will have a chance i will try from other pc.
Regards,
Alec
Post Reply