Set coding-system-for-read, as well as write

This commit is contained in:
John Wiegley 2009-02-13 05:38:45 -04:00
parent 10ba30ddfd
commit 51e0bc8a82

View file

@ -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