From 7e28b729c99c07ce5a24f44dcc4e832939774747 Mon Sep 17 00:00:00 2001
From: Case Duckworth
Date: Tue, 27 Oct 2020 13:42:25 -0500
Subject: Try to fix utf-8 handling

copy-pasting from Windows still doesn't work properly.
---
 config.org | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/config.org b/config.org
index a655267..66aa26b 100644
--- a/config.org
+++ b/config.org
@@ -133,13 +133,16 @@ I don't like the customize interface, but I still sometimes use it when I'm not
 #+END_SRC
 ** Encoding
 #+BEGIN_SRC emacs-lisp
-  (set-charset-priority 'unicode)
-  (set-language-environment "UTF-8")
-  (set-default-coding-systems 'utf-8)
-  (set-terminal-coding-system 'utf-8)
-  (set-keyboard-coding-system 'utf-8)
-  (set-selection-coding-system 'utf-8)
-  (prefer-coding-system 'utf-8)
+  (prefer-coding-system 'utf-8-unix)
+  (set-default-coding-systems 'utf-8-unix)
+  (set-terminal-coding-system 'utf-8-unix)
+  (set-keyboard-coding-system 'utf-8-unix)
+  (set-selection-coding-system 'utf-8-unix)
+  (set-file-name-coding-system 'utf-8-unix)
+  (set-clipboard-coding-system 'utf-8-unix)
+  (set-buffer-file-coding-system 'utf-8-unix)
+  (cuss locale-coding-system 'utf-8)
+  (cuss x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
 #+END_SRC
 ** Recent files
 #+BEGIN_SRC emacs-lisp
-- 
cgit 1.4.1-21-gabe81