Directly send UTF8 data instead of entities.

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9870 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Andreas Fischer 2009-07-27 12:18:09 +00:00
parent a0acfb6a3f
commit a96986744d

View file

@ -282,10 +282,10 @@ function feed_generate_content($content, $uid, $bitfield, $options)
// Replace some entities with their unicode counterpart
$entities = array(
' ' => ' ',
'•' => '•',
'·' => '·',
'©' => '©',
' ' => "\xC2\xA0",
'•' => "\xE2\x80\xA2",
'·' => "\xC2\xB7",
'©' => "\xC2\xA9",
);
$content = str_replace(array_keys($entities), array_values($entities), $content);
@ -425,7 +425,7 @@ class phpbb_feed
/**
* Separator for title elements to separate items (for example forum / topic)
*/
var $separator = '•';
var $separator = "\xE2\x80\xA2"; // •
/**
* Constructor. Set standard keys.