How about converting Webpage to UTF-8 before tidying process ?
"Benfeng CHEN" <[email protected]> Tue, 19 Jul 2005 00:14:35 +0800
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Organization | CS, HKUST |
| Message-ID | <[email protected]> |
Hi, I am thinking that tidy can support more encodings if we make use of the GNU iconv lib. We use iconv to convert any encoding of webpage into UTF-8 first and then do the tidying process. Finally, we convert the webpage back to its original encoding. The flow would be: input webpage --> iconv --> tidy --> iconv --> output webpage How do you think of this idea ? Best Regards -Ben (Benfeng CHEN) ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click