Page 1 of 1

Special Characters

Posted: Fri Aug 19, 2005 12:21 am
by BiggBoss
Thanks for a great script!

I am using it on a private site where most of my guest are, as I am, Icelandic and I was wondering wether I could the special Icelandic characters ð, þ and æ to appear correctly. (I hope they do here or else this won't make much sense).

I'll write them here with the following code that appears instead of them when I post on the board and also the code for them that Macromedia Dreamweaver translates them into automatically, in case it could help.

Character - mboard code - Dreamweaver code

ð = ð = ð
þ = þ = þ
æ = æ = æ

and here they are in capital letters...

Ð = Ð = Ð
Þ = Þ = Þ
Æ = &#198 = Æ

I tried mucking about a bit with the mboard.php file but was unable to get it right. I hope you have a solution for it and if you do I would be grateful to have it. It is such a small step for being perfect for me :)

Thanks and regards

Re: Special Characters

Posted: Fri Aug 19, 2005 12:25 am
by BiggBoss
BiggBoss wrote: Character - mboard code - Dreamweaver code

ð = &#240 = ð
þ = &#254 = þ
æ = &#230 = æ

and here they are in capital letters...

Ð = &#208 = Ð
Þ = &#222 = Þ
Æ = &#198 = Æ
Yeah... the forum translated my codes :oops:
if I skip the semicolon at the end you can see the code

Posted: Fri Aug 19, 2005 10:18 am
by Klemen
Hi,

Open mboard.php in a plain text editor (Notepad, Wordpad) and try changing:

windows-1250

(use search function to find it) to your character code.

Regards