[Pkg-haskell-maintainers] Bug#762131: pandoc: markdown → docx → markdown roundtrip fails with Data.Text.Encoding.Fusion.streamUtf8: Invalid UTF-8 stream
John MacFarlane
jgm at berkeley.edu
Thu Sep 18 20:04:41 UTC 2014
pandoc 1.12.4 does not support docx as an input format -- only
as an output format. docx as input is only supported in pandoc 1.13.x.
So, this is not a bug.
+++ Daniel Kahn Gillmor [Sep 18 14 15:31 ]:
>Package: pandoc
>Version: 1.12.4.2~dfsg-1+b11
>Severity: normal
>
>I tried to route the simplest possible markdown document through a
>docx roundtrip, and got a failure:
>
>0 dkg at alice:~$ echo 'test document' > test.mdwn
>0 dkg at alice:~$ pandoc -o test.docx test.mdwn
>0 dkg at alice:~$ pandoc -o test.clean.mdwn test.docx
>pandoc: Cannot decode byte '\x9b': Data.Text.Encoding.Fusion.streamUtf8: Invalid UTF-8 stream
>1 dkg at alice:~$
>
>Thanks for packaging pandoc for debian!
>
>Regards,
>
> --dkg
>
>-- System Information:
>Debian Release: jessie/sid
> APT prefers testing
> APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
>Architecture: amd64 (x86_64)
>Foreign Architectures: i386
>
>Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>Shell: /bin/sh linked to /bin/dash
>
>Versions of packages pandoc depends on:
>ii libc6 2.19-10
>ii libffi6 3.1-2
>ii libgmp10 2:6.0.0+dfsg-6
>ii libicu52 52.1-5
>ii liblua5.1-0 5.1.5-7
>ii libpcre3 1:8.35-3
>ii libyaml-0-2 0.1.6-2
>ii pandoc-data 1.12.4.2~dfsg-1
>ii zlib1g 1:1.2.8.dfsg-1
>
>pandoc recommends no packages.
>
>Versions of packages pandoc suggests:
>pn etoolbox <none>
>pn pandoc-citeproc <none>
>ii texlive-latex-recommended 2014.20140821-1
>pn texlive-luatex <none>
>pn texlive-xetex <none>
>
>-- debconf-show failed
>
More information about the Pkg-haskell-maintainers
mailing list