Converting Latin-1 special characters to entities

Hello,
I'm cleaning some html pages that I have written by hand...
This page are are written in Italian so there are a lot of accented 
letters like(è,ò,ù.. ecc..). I would like to convert this letters in 
html entities...

example:


     <body>
        bla bla bla with special characters
        èòù
     </body>

to...

     <body>
           bla bla bla with special characters
           &egrave;&ograve;&ugrave; ...ecc
     </body>


Is this function supported by tidy? or do l have to find an other solution?

thank you in advance,

Andrea Fiore


my problem is that i am not able to do this with tidy.... does it 
support this function?

Received on Sunday, 12 June 2005 03:27:41 UTC