diff options
author | Andreas Fischer <bantu@phpbb.com> | 2009-07-27 12:18:09 +0000 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2009-07-27 12:18:09 +0000 |
commit | a96986744dbe5819b42baacc929c23fc8e57c746 (patch) | |
tree | 37acb8a4779fe00cc09bb355da98fa0ab9d43e58 /phpBB/feed.php | |
parent | a0acfb6a3fce9a547d19c28ac99654275152ac98 (diff) | |
download | forums-a96986744dbe5819b42baacc929c23fc8e57c746.tar forums-a96986744dbe5819b42baacc929c23fc8e57c746.tar.gz forums-a96986744dbe5819b42baacc929c23fc8e57c746.tar.bz2 forums-a96986744dbe5819b42baacc929c23fc8e57c746.tar.xz forums-a96986744dbe5819b42baacc929c23fc8e57c746.zip |
Directly send UTF8 data instead of entities.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9870 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r-- | phpBB/feed.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php index a84cc81940..f0e4435956 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -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. |