From: Andreas F. <ba...@ph...> - 2009-07-27 12:19:11
|
Author: bantu Date: Mon Jul 27 13:18:09 2009 New Revision: 9870 Log: Directly send UTF8 data instead of entities. Modified: branches/phpBB-3_0_0/phpBB/feed.php Modified: branches/phpBB-3_0_0/phpBB/feed.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/feed.php (original) --- branches/phpBB-3_0_0/phpBB/feed.php Mon Jul 27 13:18:09 2009 *************** *** 282,291 **** // Replace some entities with their unicode counterpart $entities = array( ! ' ' => ' ', ! '•' => '•', ! '·' => '·', ! '©' => '©', ); $content = str_replace(array_keys($entities), array_values($entities), $content); --- 282,291 ---- // 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,431 **** /** * Separator for title elements to separate items (for example forum / topic) */ ! var $separator = '•'; /** * Constructor. Set standard keys. --- 425,431 ---- /** * Separator for title elements to separate items (for example forum / topic) */ ! var $separator = "\xE2\x80\xA2"; // • /** * Constructor. Set standard keys. |