Hello,
I was wondering if someone could help me out with a problem i have.
I run a game server with addons.
One of the addons produces stats from players and puts that in a file on the game server.
Now i use a code which is picking up the stats from the game server and displays it on my website.
However in the game people can use all kind of special characters where the code can not do anything with it.
See this for example : http://www.cs-source.nl/index.php?name=mani
Everything works till player : lđĩэr
From this name the code does not display the other players anymore.
Does anyone know perhaps what i could do to read it out correctly ?
This was the original code
$name = mb_convert_encoding($string, 'HTML-ENTITIES', 'UTF-8');
A friend of mine fixed the code table a bit but still characters are having problems ( as shown above )
Then he tried some other variants but this still would not fix the problem
$name = htmlentities($string,NULL,"UTF");
or
$name=mb_convert_encoding($string,"UTF-8","auto");
or
$name = htmlentities($messedname,NULL,"UTF-8"); */
[/code]
thanks in advance.