Sometimes Portuguese characters are pasted as gibberish
alienbogart opened this issue · comments
Davi Ramos commented
Runtime Environment
- OS: MX Linux 18.3
- GNU Emacs 27.0.50
- clipmon 20180129.1054
- Evil version 1.2.14
- ~/.emacs.d
- i3 version 4.13 (2016-11-08)
- i3/config
- dotfiles
use-package
(use-package clipmon
:defer nil
:ensure t
:config
(clipmon-mode +1))
Issue
When clipmonmode
is enabled, sometimes accentuated Portuguese characters are pasted as gibberish.
- With
clipmon-mode
disabled (correctly pasted):
Eu não sei qual é a ação
- With
clipmon-mode
enable (incorrectly pasted):
Eu não sei qual é a ação
Edit
I added
(setq selection-coding-system 'utf-8-unix)
to my configuration after reading this issue. So it looks like this:
(use-package clipmon
:defer nil
:ensure t
:config
(setq selection-coding-system 'utf-8-unix)
(clipmon-mode +1))
It seems to be working for now. Let's see.