Syntactic Confectionery Delight | |
PerlMonks |
Re: Regexp to convert high-bit (?) characters to character entitesby dakkar (Hermit) |
on Jul 10, 2002 at 16:12 UTC ( [id://180782]=note: print w/replies, xml ) | Need Help?? |
I have written a little script that does something similar. I started from HTML::Entities, but since I use UTF-8 for storing my documents, and that module supposes ISO-8859-1, it didn't work. So I converted the hash from the module (chars to entity names) in UTF-8 using iconv, added a switch, and it now works. You can find it served from my PC (it's a DynDNS name, so sometimes may be off-line)
In Section
Seekers of Perl Wisdom
|
|