converting html with \xa9 to Markdown and using iconv?
andrew at shedside.com
andrew at shedside.com
Fri Mar 23 11:22:40 EDT 2007
On Thu, 22 Mar 2007 15:52:01 -0500 (CDT), Jeremy C. Reed wrote:
> I tried using html2text.py but it didn't like these characters.
If you're familiar with XSLT, another option is:
http://www.lowerelement.com/Geekery/XML/XHTML-to-Markdown.html
(You can use Perl's XML::LibXML and XML::LibXSLT to parse your HTML as
XHTML and then transform it using the above stylesheet, UTF8 intact,
into Markdown).
Cheers,
Andrew.
More information about the Markdown-Discuss
mailing list