summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ledger.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el
index 525d0f61..c9ceb62e 100644
--- a/lisp/ledger.el
+++ b/lisp/ledger.el
@@ -1289,7 +1289,8 @@ This is done so that the last digit falls in COLUMN, which defaults to 52."
(t
(let ((buf (current-buffer)))
(with-current-buffer buffer
- (let ((coding-system-for-write 'utf-8))
+ (let ((coding-system-for-write 'utf-8)
+ (coding-system-for-read 'utf-8))
(apply #'call-process-region
(append (list (point-min) (point-max)
ledger-binary-path ledger-delete-after