Fixing character set problems.

Member 3639

Active member
Okay i have a bit of a problem, i am using Xenforo's post render on my website for grabbing news from the news forum.

Now see this post:

All looks fine, but then you see it on the website:

You will see the issues in the text where in firefox it gives the diamond with a question mark in it.

Why does it look fine in the forum but not the website when both pages encoding is UTF-8?

Member 3639

Active member
How exactly do you connect to the database using UTF-8?

Found it mysql_set_charset and it works great, never even knew you could do that....