From 49d4f1ae4834b1716887db28f4e1156b1d47816e Mon Sep 17 00:00:00 2001 From: simon987 Date: Sat, 16 Jan 2021 12:17:43 -0500 Subject: [PATCH] Change encoding for antiword PDF --- libscan/msdoc/msdoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libscan/msdoc/msdoc.c b/libscan/msdoc/msdoc.c index e68a5ea..b199cbd 100644 --- a/libscan/msdoc/msdoc.c +++ b/libscan/msdoc/msdoc.c @@ -88,7 +88,7 @@ void parse_msdoc_pdf(scan_msdoc_ctx_t *ctx, document_t *doc, FILE *file, void* b opts->bHideHiddenText = 1; opts->bRemoveRemovedText = 1; opts->bUseLandscape = 0; - opts->eEncoding = encoding_latin_2; + opts->eEncoding = encoding_latin_1; opts->iPageHeight = 842; // A4 opts->iPageWidth = 595; opts->eImageLevel = level_ps_3;