On Oct 5, 2004, at 3:37 PM, Stas Bekman wrote:
Of course we could just say: use HTML::Entities to do the work, but I believe it's slow(er?), as it's implemented in perl...
It is slower, but it's also more correct, in that it doesn't turn of the utf8 flag of the strings passed to it.
So there is no CPAN lib that does that in C? Or do you by chance familiar with the work by jeff baker (which is supposedly written in C)? may be it deals correctly with that issue?
Alternatively we could just borrow ap_escape_html and rewrite it to not use the pool, but Perl's memory allocator.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]