Quote:
Originally Posted by beatniak Resolved the weird characters on goboz by adding these 2 lines AS THE FIRST ONES in the remove_error_creating_characters function: Code: function remove_error_creating_chars($chars) {
$replace=array(
'—' => '--', // Steef2k8-01 - remove really weird characters
'’' => '\'', // Steef2k8-01 - remove really weird characters I said as the first 2 lines of all the replaces, because below it some characters from these strings are getting replaced, so the function won't find — and ’ anymore.
i.e.: |
ok sorry I didn't get this, could you please tell me what file and line y ou added this code to
Sorry about not understanding...
unless you added it here somewhere,
Code:
function remove_error_creating_chars($chars) {
$replace=array(
'?' => 'A',
'?' => 'A',
'?' => 'a',
'?' => 'a2',
'?' => 'a3',
'?' => 'a4',
'?' => 'a5',
'?' => 'a',
'?' => 'a',
'?' => 'ae',
'?' => 'ae',
'?' => 'e',
'?' => 'E',
'?' => 'E',
'?' => 'I',
'?' => 'i',
'?' => 'I',
'?' => 'i',
'?' => '',
'?' => '',
'?' => '',
'?' => 'n',
'?' => 'N',
'?' => 'O',
'?' => 'o',
'?' => 'O',
'?' => 'O',
'?' => 'O',
'?' => 'o',
'?' => 'o',
'?' => 'o',
'?' => 'o',
'?' => 's',
'?' => 's',
'?' => 'U',
'?' => 'U',
'?' => 'U',
'?' => 'u',
'?' => 'u',
'?' => 'u',
'?' => 'Y',
'?' => 'y',
'?' => 'Z',
'?' => 'z',
'?' => ''
);