bBlog modifier htmlentities
recently ihandgestrickt had some IPTC-tags, that were originally encoded in ISO-8859-1. using the modifier htmlspecialchars did not work, but returned broken characters. even we tried the third argument "charset", as mentioned in the PHP-documentation. htmlentities did the job very well. and as the PHP-documentation mentions, htmlentities converts more, because it converts "every applicable" character to HTML-entities. so we wrote a htmlentities-modifier with all 3 arguments:
{$foo|htmlentities:ENT_COMPAT:"ISO-8859-1"}

