I have recently started doing an upgrade to my forum and to do so I am running a second copy of my PHPBB3 for editing. Now I haven't altered much at all but I am finding strange characters popping up.
For example in the search field it is suppose to display Search... but instead has Searchâ€¦.
Another example is is a quotation (Not quoting someone simply quoting the title of something). It should display as "Stand Against the Ban" but instead looks like â€œStand Against the Banâ€. I did receive an error making a new post and it directed me to includes/functions.php on line 35 which is something to do with special characters:
Code: Select all
$result = trim(htmlspecialchars(str_replace(array("\r\n", "\r", "\0"), array("\n", "\n", ''), $result), ENT_COMPAT, 'UTF-8'));