danish chars not showing up

Started by Fire-Fox, June 28, 2011, 01:56:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fire-Fox

thanks got it how to solve it :)

THANKS

Mindless

Then fix the db - I told you what is wrong - Now it is up to you how you fix that, i dont set my code up for Danish people i set it up for everyone so its fair to say you the end user may have to do some alterations mentioned above to allow your text to be used.

Fire-Fox

the changed where made in bbcode_functions.php
$s = htmlentities($s, ENT_QUOTES, 'UTF-8');


Mindless

bbcode_functions.php find :

Code (php) Select
$s = htmlentities($s, ENT_QUOTES);

Change to :

Code (php) Select
$s = htmlentities($s, ENT_QUOTES, 'UTF-8');

Then all tables check the collation per fields - IE news title and news body make sure they are set to utf_bin and that will fix any funky character shit, as goes with forums anywhere its no right you now know what to check.

Fire-Fox

Hey!

I have installed the source on a win machine with wamp. And i can't get the danish chars to show in "forums.php" but it is working when i type a message in the forum. then i can see