Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Regexp to convert high-bit (?) characters to character entites

by dakkar (Hermit)
on Jul 10, 2002 at 16:12 UTC ( [id://180782]=note: print w/replies, xml ) Need Help??


in reply to Regexp to convert high-bit (?) characters to character entites

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)

  • Comment on Re: Regexp to convert high-bit (?) characters to character entites

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://180782]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-18 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found