Update of /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_remoterss
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26436/plugins/serendipity_plugin_remoterss
Modified Files:
serendipity_plugin_remoterss.php
Log Message:
Use proper encoding for RSS feeds
Index: serendipity_plugin_remoterss.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- serendipity_plugin_remoterss.php 2 Dec 2004 10:55:09 -0000 1.10
+++ serendipity_plugin_remoterss.php 2 Jan 2005 15:20:18 -0000 1.11
@@ -102,6 +102,7 @@
$p = xml_parser_create();
// by: an...@mo... - meets XML 1.0 specification
xml_parser_set_option($p, XML_OPTION_CASE_FOLDING, 0);
+ xml_parser_set_option($p, XML_OPTION_TARGET_ENCODING, LANG_CHARSET);
xml_parse_into_struct($p, $data, $vals, $index);
xml_parser_free($p);
|