From 8e21167c6e01ab76b76e15fa84bd198bc8df59b4 Mon Sep 17 00:00:00 2001 From: Visuwesh Date: Thu, 17 Oct 2024 09:40:34 +0530 Subject: [PATCH] Make djvused emit UTF-8 encoded text * lisp/doc-view.el (doc-view--djvu-outline): Pass -u to djvused to make it emit UTF-8 encoded text rather than using octal escapes for non-ASCII string. --- lisp/doc-view.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doc-view.el b/lisp/doc-view.el index bbfbbdec925..018c4eddd34 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -2027,7 +2027,7 @@ doc-view--djvu-outline (unless file-name (setq file-name (buffer-file-name))) (with-temp-buffer (call-process doc-view-djvused-program nil (current-buffer) nil - "-e" "print-outline" file-name) + "-u" "-e" "print-outline" file-name) (goto-char (point-min)) (when (eobp) (setq doc-view--outline 'unavailable) -- 2.45.2