1 (edited by 2012-09-05 08:54:12)

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

2 (edited by 2013-04-03 21:49:10)

Re: Bug with some characters

I'll second this problem. It seems like I can see accented letters on the news I add but not in the comment to the news. Instead, when you try to post an accented letter on a comment, the published comment will result cut before the accented letter.