From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23240 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Antoine vidal Newsgroups: gmane.text.pandoc Subject: Re: Utf8 and docx Date: Wed, 14 Aug 2019 04:21:33 -0700 (PDT) Message-ID: References: <9c5b4ae3-6e1c-4bb3-a504-f472dec69bc2@googlegroups.com> <1bdfdfc0-e6bd-4530-866b-738d53ca3dfc@googlegroups.com> <6da54d4c-f86f-4fa8-9b32-2d6349184ade@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2474_389899737.1565781693457" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="101016"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCC3HZHUW4HRBPW5Z7VAKGQEFLBE4EI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 14 13:21:36 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f55.google.com ([209.85.210.55]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hxrLU-000QA4-Lt for gtp-pandoc-discuss@m.gmane.org; Wed, 14 Aug 2019 13:21:36 +0200 Original-Received: by mail-ot1-f55.google.com with SMTP id j4sf95025326otc.5 for ; Wed, 14 Aug 2019 04:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=YOUB2Qkfbniu2I6S0tys66+gs6QOfMF09moB9PzBoa4=; b=k5IIgRsb/n0bxU4w6P5R540vzBkqtPO9n/yw98WKSZA3eoGzPLc6fdhQNSiCnNRTov /JFxPtS4vbckkBBanvp/0dW7+FSuOubfaODMZENUE54olpZEEgHqLtsK/smadwjZFZAa y4nlJft83kqw/ZBElquII4/Dh8cdXM9JZdoQwx6+q3ZBhSyGRXbVvUqhdy+HaBQ7a2jG Kq282KE9bAdB1TFJCl4fRlVDQ5ITHmbWWmIuS9Lia8ATMad4Yxol7yRpOS6ftyqr39RE KwasK1dkj2PL3zrWhdMVHrQk3uHoQv5Wq8Z0waXogJGx76NWIOdL81Z2kApwbWsI+QZp 457A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=YOUB2Qkfbniu2I6S0tys66+gs6QOfMF09moB9PzBoa4=; b=hnTa9JauLg2Llo6BYfWMxjbrP1LCwTNcMs12IsJ/WXHKH4YFZjT2vrAKGkbUAOoclw GW41D3tZm8HN3rhmxxe0uu7SiW6TrHVQVy6qXIhs6jaeZ+EVqET4M32R4j3C0JhJZf6g Fzv21L+O0ugzCjFgQtikTW1/WF2i9Cuv9O+S7BVH5A2/YP5ctaGcBsPQ7j5T4ShStZHe PvxLk8J4d9cCTWy1zuGWQXp1NeF0e2XGSqUlKHkeOQTp/e5bZ2clpYaCDGeB5cF5moeI fOMQRYfjmH1Bj3liH9PIgqRYDmMfJ6C4O/DLnNuLXbU0aSmHsOg9652Sr6JH+g8IUyjf Ev2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=YOUB2Qkfbniu2I6S0tys66+gs6QOfMF09moB9PzBoa4=; b=ECsR92xrTkyRhpFhTi6G0yXs87CcO8OGNm5oCMrR8NH0VORDNSpHMUDq/0m8bv9JSb LCxtPdbHYkwrapxCLsW6iKJKlklIrz2LeQ27VG9+U+57LxiRXQL0lL2J/0UA11xpyLmN DoV7fPQAFPL7GKLTXAsfs9KAbWNEbHj1p334WQbo16vkvAEo5qHGGAO+nqMzvRrxwO/o 7ceSTLDNaJqT/ShcrPWWbpnuKQ/fyWckdPPEytce9CkXZsYVSU829EctAZm+OK9d5zWM QRgcZG9LfmvtSRxKcWMVVaxy885p/wlmh50sJVcbZSKmL3uo3KRxT1+JWubTleZEVY6r If6g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAUxsWLfgkvVe2bUaypnMVfy2LGTSm0vny9qYqKVQSawkZFe3E35 q8AChJmnmSjg6kesMvQ9vVc= X-Google-Smtp-Source: APXvYqz6/7e8TzdTTxGVMQI/KJmPjgdh0FyuFqKY1sSzIlrRE8JoyBNuWuqXR9pms6u6mjcMpUqVZQ== X-Received: by 2002:a05:6830:4b4:: with SMTP id l20mr21919896otd.101.1565781695112; Wed, 14 Aug 2019 04:21:35 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:2f43:: with SMTP id h61ls332020otb.8.gmail; Wed, 14 Aug 2019 04:21:34 -0700 (PDT) X-Received: by 2002:a9d:6517:: with SMTP id i23mr35281077otl.134.1565781693999; Wed, 14 Aug 2019 04:21:33 -0700 (PDT) In-Reply-To: <6da54d4c-f86f-4fa8-9b32-2d6349184ade-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: antoinevidal98-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:23240 Archived-At: ------=_Part_2474_389899737.1565781693457 Content-Type: multipart/alternative; boundary="----=_Part_2475_1515268391.1565781693457" ------=_Part_2475_1515268391.1565781693457 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It is working, thank uoy Dmmitriy But I am running into a new error message (I think it is for the output=20 which is: -o /home/username/Bureau/input/arrivee.docx') pandoc: Data.Binary.Get.runGet at position 4: Did not find end of central= =20 directory signature CallStack (from HasCallStack): error, called at libraries/binary/src/Data/Binary/Get.hs:351:5 in=20 binary-0.8.5.1:Data.Binary.Get Do you know how to solve this problem? Antoine Le mercredi 14 ao=C3=BBt 2019 12:42:44 UTC+2, Dmitriy Krasilnikov a =C3=A9c= rit : > > this should be --reference-doc=3D/file, at least. > > =D1=81=D1=80=D0=B5=D0=B4=D0=B0, 14 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82= =D0=B0 2019 =D0=B3., 10:57:49 UTC+3 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0= =B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Antoine vidal=20 > =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: >> >> >> I made a screenshot of the error message >> Le mardi 13 ao=C3=BBt 2019 20:33:24 UTC+2, John MacFarlane a =C3=A9crit = : >>> >>> >>> What is the exact command line you're using, and the exact output=20 >>> (error message)?=20 >>> >>> Antoine vidal writes:=20 >>> >>> > Hello=20 >>> >=20 >>> > I am using the latest version of pandoc (2.7.3) on Ubuntu.=20 >>> >=20 >>> > I am trying to merge a markdown file with a docx file.=20 >>> >=20 >>> > but I have this errror : The input must be a UTF-8 encoded text.=20 >>> > I cheked the xml files of the docx, and they are in utf8.=20 >>> >=20 >>> > docx file are supported as input file. However docx file are binary= =20 >>> file=20 >>> > but it said that they are supported as input file.=20 >>> >=20 >>> > Can you help me with this issue?=20 >>> >=20 >>> > Kind regards=20 >>> >=20 >>> > Antoine=20 >>> >=20 >>> > --=20 >>> > You received this message because you are subscribed to the Google=20 >>> Groups "pandoc-discuss" group.=20 >>> > To unsubscribe from this group and stop receiving emails from it, sen= d=20 >>> an email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 >>> > To view this discussion on the web visit=20 >>> https://groups.google.com/d/msgid/pandoc-discuss/9c5b4ae3-6e1c-4bb3-a50= 4-f472dec69bc2%40googlegroups.com.=20 >>> >>> >> --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/fddff39a-71c6-4f05-bcd8-c0a4553a3b23%40googlegroups.com. ------=_Part_2475_1515268391.1565781693457 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It is working, thank uoy Dmmitriy

But I am running into a new error message (I think it is for the outp= ut which is: -o /home/username/Bureau/input/arrivee.docx')

pandoc: Data.Binary.Get.runGet at position 4: Did not find= end of central directory signature
CallStack (from HasCallStack):
= =C2=A0 error, called at libraries/binary/src/Data/Binary/Get.hs:351:5 in bi= nary-0.8.5.1:Data.Binary.Get

Do you know how to so= lve this problem?

Antoine

Le mercredi= 14 ao=C3=BBt 2019 12:42:44 UTC+2, Dmitriy Krasilnikov a =C3=A9crit=C2=A0:<= blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bord= er-left: 1px #ccc solid;padding-left: 1ex;">
this should be= --reference-doc=3D/file, at least.

=D1=81=D1=80=D0=B5=D0=B4=D0=B0, = 14 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2019 =D0=B3., 10:57:49 UTC+3 = =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C An= toine vidal =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:

I made a screenshot of the error m= essage
Le mardi 13 ao=C3=BBt 2019 20:33:24 UTC+2, John MacFarlane a =C3= =A9crit=C2=A0:

What is the exact command line you're using, and the exact output
(error message)?

Antoine vidal <antoine...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writ= es:

> Hello
>
> I am using the latest version of pandoc (2.7.3) on Ubuntu.
>
> I am trying to merge a markdown file with a docx file.
>
> but I have this errror : The input must be a UTF-8 encoded text.
> I cheked the xml files of the docx, and they are in utf8.
>
> docx file are supported as input file. However docx file are binar= y file=20
> but it said that they are supported as input file.
>
> Can you help me with this issue?
>
> Kind regards
>
> Antoine
>
> --=20
> 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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/9c5b4ae3-6e1c-4bb3-a504-f472dec= 69bc2%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/fddff39a-71c6-4f05-bcd8-c0a4553a3b23%40googlegroups.co= m.
------=_Part_2475_1515268391.1565781693457-- ------=_Part_2474_389899737.1565781693457--