[Top][All Lists]

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

Re: Emacs 24.5.1 has wrong charset on yanked text with Windows (was: Ope

From: Karl Voit
Subject: Re: Emacs 24.5.1 has wrong charset on yanked text with Windows (was: Operating on yanked region)
Date: Wed, 18 May 2016 22:30:47 +0200
User-agent: slrn/pre1.0.0-18 (Linux)

* Eli Zaretskii <> wrote:
>> From: Karl Voit <>
>> Date: Wed, 18 May 2016 17:53:51 +0200
>> ,----
>> | selection-coding-system is a variable defined in `select.el'.
>> | Its value is iso-latin-1-dos
>> | Original value was nil
>> `----
>> I once set this to 'utf-8 in my init.el. The Emacs help further
>> suggests setting it to 'utf-16le-dos instead when running on
>> Windows. With switching to this setting, the clipboard gets yanked
>> properly! :-)
> You shouldn't set selection-coding-system to any value on MS-Windows,
> just leave it alone.  It will work regardless.  Setting it to anything
> is asking for trouble, as it forces Emacs to use that encoding instead
> of using UTF-16 when available in the clipboard.

Before I set it to 'utf-16le-dos as suggested by the manual for
Windows, I tested with no value and it did not yank correctly.

All in all, one of the most disturbing things today is the definitive
fact that the NSA, GCHQ, and many more government organizations are
massively terrorizing the freedom of us and the next generations.

reply via email to

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