hi people i want to know why we have a preg_replace in "common_xml_safe_str" function witch is in "lib/util.php:573"? it causes problem in some special characters like ZWNJ ( ‌ ). for example look @ http://identi.ca/api/statuses/show/2376006.xml , ZWNJ is converted to *
also i should mention that it's better we convert UTF-8 characters to their equal entity by using htmlentities($text, ENT_COMPAT, "UTF-8") but XMLWriter::text method will convert & character to & so i think best solution is: 1. convert text using htmlentities in common_xml_safe_str 2. replace XMLWriter::text with XMLWriter::writeCData in element method (lib/xmloutputter.php:133) related ticket > http://laconi.ca/trac/ticket/1141 -- You Rock! Your E-Mail Should Too! Signup Now at Rock.com and get 250MB of Storage! http://webmail.rock.com/signup/ _______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev
