Well, I thought I had this problem solved a few months ago, but now it's coming back to haunt me. I've created an online multiplayer game. In this game the members can create their own Crime Family. They have the option of choosing any name they want for their family. No here's the problem. It has to do with them using Special Characters. (i.e., copyright symbol, trademark symbol etc.)
For example, one Syndicate has the name ¤©®!M!Ñ@L_!ÑT3ÑT¤. Now on my dev machine, when I load this, it displays as "¤©®!M!Ñ@L_!ÑT3ÑT¤" like it should. On my live server it displays at "���!M!�@L_!�T3�T�".
I have exact copies of my live files on my dev server. Here is my code.
$TBS->LoadTemplate('' . TEMPLATE . 'template.html'); |
I have even tried
$TBS->LoadTemplate('' . TEMPLATE . 'template.html',false); |
and get the same results.
Code for calling data from template:
[syndicate.syndicate_name;htmlconv=no] |
The user hasn't entered HTML code to create the special characters, they have just copied and pasted the symbols because I have scripts in place to block possibly harmful HTML from being entered into the database.
I guess my main question is why would I see it the way it is intended on my dev server and not on the live server? And is there a fix for this?