Topic: Extern.php charset, ä ä ö....

How can i make extern.php display å ä ö properly in HTML output?

Thanks! smile
//And.

Re: Extern.php charset, ä ä ö....

Use the same charset from the beginning to the end of the server's handling. And of course, a proper charset that will handle those characters, such as utf-8.

Re: Extern.php charset, ä ä ö....

Hi! Thanks for the answer, but i dont really understand hmm

Re: Extern.php charset, ä ä ö....

You need to have a PunBB's charset that handle these characters. If you can write them into your PunBB forums and post, and have the page validated by the W3C validator, then your fine here.

Then, you need extern.php to use the same charset as you PUnBB forum.

Re: Extern.php charset, ä ä ö....

The forum displays the characters well smile

How do i make extern.php use it? I cant find any charset in the file.

Thanks!

Re: Extern.php charset, ä ä ö....

Look for the charset used in the web page that embeds it.

If you have a mysite.php script that calls /punbb/extern.php, mysite.php (and everything around it, such as the potential default charset used by your Apache) should have the same charset as your PunBB.

I do a HTML display of PunBB topics with extern.php on a full utf-8 website (both PunBB and the web page are in utf-8) and it worked well without any code modification or anything complicated; just because I used the same charset all the way.