Stas Bekman wrote:
David Wheeler wrote:

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.

Or just use ap_escape_html but create/destroy a temporary pool for it to use ?



-- -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to