Hello !


Since a month I have had a problem with pandoc. It's a quite regular problem, I have seen, but I haven't found my solution.


I want to convert a tex file in docx (or odt) :

pandoc -s input.tex -o ouput.docx

But I recept this message :

pandoc: Cannot decode byte '\xe9': Data.Text.Internal.Encoding.Fusion.streamUtf8: Invalid UTF-8 stream


After many research, I've found that \xe9 is the latin small letter e with acute (é or è ?).


This command from the pandoc documentation :

iconv -t utf-8 input.tex | pandoc | iconv -f utf-8
doesn't work :
iconv: séquence d'échappement non permise à la position 401

<p>\begin{document}</p>


As I can't not use this character, would you have a solution, please ?


Thank you !

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/abb0e387-0d90-42dc-8184-c3f4a2a8ce57%40googlegroups.com.