X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/0b94dd7fd3dcd071ebbe498cd80f5fd687a78e08..f4cdabccd0e75d94d7f6f4d50684afc67bbf7f0d:/test/test-lib.el diff --git a/test/test-lib.el b/test/test-lib.el index bbc03cba..04c8d634 100644 --- a/test/test-lib.el +++ b/test/test-lib.el @@ -59,7 +59,9 @@ "Save visible text in current buffer to file FILENAME. Default FILENAME is OUTPUT." (notmuch-post-command) - (let ((text (visible-buffer-string))) + (let ((text (visible-buffer-string)) + ;; Tests expect output in UTF-8 encoding + (coding-system-for-write 'utf-8)) (with-temp-file (or filename "OUTPUT") (insert text)))) (defun visible-buffer-string ()