emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/emacsql 127bb98df2 264/427: Set coding system to utf-8-aut


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 127bb98df2 264/427: Set coding system to utf-8-auto for sqlite.
Date: Tue, 13 Dec 2022 02:59:50 -0500 (EST)

branch: elpa/emacsql
commit 127bb98df20d84117d34822f50ea584af81b19c3
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Set coding system to utf-8-auto for sqlite.
---
 emacsql-sqlite.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index 5a60eec670..f236e631e0 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -31,6 +31,8 @@ If FILE is nil use an in-memory database.
 :debug LOG -- When non-nil, log all SQLite commands to a log
 buffer. This is for debugging purposes."
   (let* ((process-connection-type nil)  ; use a pipe
+         (coding-system-for-write 'utf-8-auto)
+         (coding-system-for-read 'utf-8-auto)
          (buffer (generate-new-buffer " *emacsql-sqlite*"))
          (fullfile (if file (expand-file-name file) ":memory:"))
          (process (start-process



reply via email to

[Prev in Thread] Current Thread [Next in Thread]