branch: elpa/emacsql
commit 178a31d5ca753143e1d4e55119bc68c648fffe47
Author: Christopher Wellons <well...@nullprogram.com>
Commit: Christopher Wellons <well...@nullprogram.com>

    Lock in the coding system.
---
 emacsql.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emacsql.el b/emacsql.el
index 5f2535b923..a59f91931e 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -89,6 +89,7 @@ buffer. This is for debugging purposes."
          (process (start-process "emacsql" buffer emacsql-sqlite-executable
                                  (or file ":memory:"))))
     (setf (process-sentinel process) (lambda (_proc _) (kill-buffer buffer)))
+    (set-process-coding-system process 'utf-8-unix 'utf-8-unix)
     (process-send-string process ".prompt #\n")
     (process-send-string process ".mode line\n")
     (process-send-string process ".nullvalue nil\n")

Reply via email to