scandinavian lettering æ - ø - å

Problems installing LinkMan?
Post Reply
olsen
Posts: 4
Joined: Sat Dec 02, 2006 6:56 am

scandinavian lettering æ - ø - å

Post by olsen »

Hi

how do i get the 3 scandinavian lettering æ - ø - å into the scribt?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
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
olsen
Posts: 4
Joined: Sat Dec 02, 2006 6:56 am

Post by olsen »

super - i works


Thanks
olsen
Posts: 4
Joined: Sat Dec 02, 2006 6:56 am

Post by olsen »

Hi

i have the same problem in form.html
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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">
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
Post Reply