I forgot to mention, when I attempt to use iconv, as the documentation suggests, I receive a similar error: $ iconv -t utf-8 test.docx P)Ficonv: illegal input sequence at position 12 On Wednesday, December 31, 2014 3:54:11 AM UTC-5, Farhan wrote: > > Hi, > > I can convert a markdown file to docx: > > $ pandoc test.md -o test.docx > > The resulting file "test.docx" opens just fine with both MS Word 2013 and > LibreOffice. However, when I attempt to convert that same resultant Docx > file back to markdown, I get an error: > > $ pandoc test.docx -t markdown -o test.md > pandoc: Cannot decode byte '\x9f': Data.Text.Encoding.Fusion.streamUtf8: > Invalid UTF-8 stream > > I get the same error when I try to convert Docx to any other format as > well, such as HTML. The issue seems to be that there is an invalid UTF-8 > character. Is there a way to resolve this issue? Please let me know. > > Thanks! > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5305b92a-418f-44dc-87cc-8a42ae30fffd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.