Script URL: www.tompa5.com/tompa/footprints.php
Version of script: 1.41
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:
Write your message below:
Ok, i love your gbook but ihave a problem with the letter å that isn´t supported by the gb..any ideas?
When i type an å it gets replaced by å
can someone please help mee with this??
//Tommy
lingua problems with an å
Hello tompa5
I think this is related to the charset that is used by the page.
In your normal pages you use iso-8859-1.
GBook uses windows-1250
Try the following:
Find this line in the gbook.php files (line 840 in version 1.41)and change it to this
Greetings,
Henrie
I think this is related to the charset that is used by the page.
In your normal pages you use iso-8859-1.
GBook uses windows-1250
Try the following:
Find this line in the gbook.php files (line 840 in version 1.41)
Code: Select all
<meta content="text/html; charset=windows-1250">
Code: Select all
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
Henrie
ok, now for the continuum of this problem...
I´ve updated teh guestbook to 1.43 and the linguaprob appears again...
but the letter å doesnt appear, it gets replaced by a ĺ.... what to do?
In IE it looks fine but in FF it looks like that...
thanx in advance
//T
I´ve updated teh guestbook to 1.43 and the linguaprob appears again...
Code: Select all
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
In IE it looks fine but in FF it looks like that...
thanx in advance
//T
Hello tompa5,
I have looked at the page at this link http://www.tompa5.com/tompa/gb/gbook.php and indeed the å is displayed as ĺ in Firefox (and not in Internet Explorer).
I looked at the source code and saw that the charset is and not
Perhaps this could be the problem?
Greetings,
Henrie
I have looked at the page at this link http://www.tompa5.com/tompa/gb/gbook.php and indeed the å is displayed as ĺ in Firefox (and not in Internet Explorer).
I looked at the source code and saw that the charset is
Code: Select all
<meta content="text/html; charset=windows-1250">
Code: Select all
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
Greetings,
Henrie
Hi,
Can you try this and let me know if it helps?
Open gbook.php and change line 918 from
to
Won't have any effect on the old posts, but see if new ones work with that letter.
Regards
Can you try this and let me know if it helps?
Open gbook.php and change line 918 from
Code: Select all
$in = htmlspecialchars($in);
Code: Select all
$in = htmlspecialchars($in);
$in = preg_replace('/&(\#[0-9]+;)/','&$1',$in);
Regards
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