Topic: Bug with some characters
Hi all, my problem is this:
Whenever i write some letter with accent, cutenews show a square with a "?" inside, just like this "�". For the past version of cutenews, i've solved including in the file "function.inc.php", this:
//----------------------------------
// Some Special Chars
//----------------------------------
$HTML_SPECIAL_CHARS = Array ( // Master array replaced ALWAYS !!!
'â€' => 'â€',
'“' => '“',
'Å“' => 'Å“',
'â„¢' => 'â„¢',
'’' => '’',
'‘' => '‘',
'‰' => '‰',
'…' => '…',
'€' => '€',
'¡' => '¡',
'¢' => '¢',
'£' => '£',
'¤' => '¤',
'Â¥' => '¥',
'¦' => '¦',
'§' => '§',
'¨' => '¨',
'©' => '©',
'ª' => 'ª',
'«' => '«',
'¬' => '¬',
'*' => '*',
'®' => '®',
'¯' => '¯',
'°' => '°',
'±' => '±',
'²' => '²',
'³' => '³',
'´' => '´',
'·' => '·',
'¸' => '¸',
'¹' => '¹',
'º' => 'º',
'»' => '»',
'¼' => '¼',
'½' => '½',
'¾' => '¾',
'Ã ' => 'à',
'è' => 'è',
'é' => 'é',
'ì' => 'ì',
'ò' => 'ò',
'ù' => 'ù',
'\'' => '´',
'•' => '•',
);
#####con#######
//----------------------------------
// Some Special Chars
//----------------------------------
$HTML_SPECIAL_CHARS = Array ( // Master array replaced ALWAYS !!!
'â€' => 'â€',
'“' => '“',
'Å“' => 'Å“',
'â„¢' => 'â„¢',
'’' => '’',
'‘' => '‘',
'‰' => '‰',
'…' => '…',
'€' => '€',
'¡' => '¡',
'¢' => '¢',
'£' => '£',
'¤' => '¤',
'Â¥' => '¥',
'¦' => '¦',
'§' => '§',
'¨' => '¨',
'©' => '©',
'ª' => 'ª',
'«' => '«',
'¬' => '¬',
'*' => '*',
'®' => '®',
'¯' => '¯',
'°' => '°',
'±' => '±',
'²' => '²',
'³' => '³',
'´' => '´',
'·' => '·',
'¸' => '¸',
'¹' => '¹',
'º' => 'º',
'»' => '»',
'¼' => '¼',
'½' => '½',
'¾' => '¾',
'Ã ' => 'à',
'è' => 'è',
'é' => 'é',
'ì' => 'ì',
'ò' => 'ò',
'ù' => 'ù',
'\'' => '´',
'•' => '•',
);
####################
But on this new verion i cannot find this php file.
Can somebody help me?
Thanks