Patrick Phelan wrote:
It appears to be S, P, and C getting filtered with *. One other question...does anyone have a preferred web host that they work with to run laconica? I'm considering making a change.
Odd. Which version of PHP are you using? Does it support the '\u' (UTF8) modifier and the \p{xx} character matching escape sequence for Perl compatible regular expressions?

http://us3.php.net/manual/en/reference.pcre.pattern.modifiers.php
http://us3.php.net/manual/en/regexp.reference.php

The function doing the replacement is common_xml_safe_str($str) in lib/util.php, which uses this regex:

   /[\p{Cc}\p{Cf}\p{Cs}]/u

to find characters that mess up feed parsers. That shouldn't match on S, P, or C.

Zach


_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to