Page 1 of 1

scandinavian lettering æ - ø - å

Posted: Sat Dec 02, 2006 7:01 am
by olsen
Hi

how do i get the 3 scandinavian lettering æ - ø - å into the scribt?

Posted: Sat Dec 02, 2006 2:43 pm
by Klemen
Try this:

Open settings.php and change line 49 from

Code: Select all

$in = htmlspecialchars($in);
to

Code: Select all

$in = htmlspecialchars($in);
$in = preg_replace('/&(\#[0-9]+;)/','&$1',$in);
Won't have any effect on the old links, but see if new ones work with that letter.

Regards

Posted: Sat Dec 02, 2006 6:13 pm
by olsen
super - i works


Thanks

Posted: Sun Dec 03, 2006 6:56 am
by olsen
Hi

i have the same problem in form.html

Posted: Sun Dec 03, 2006 7:39 pm
by Klemen
Change the charset of the form to whatever charset you are using. For example add this to the head of the HTML document:

<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">