From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs 24.5.1 has wrong charset on yanked text with Windows (was: Operating on yanked region) Date: Thu, 19 May 2016 07:28:41 +0300 Message-ID: <83inyaacxy.fsf@gnu.org> References: <2016-05-18T13-02-10@devnull.Karl-Voit.at> <2016-05-18T14-10-52@devnull.Karl-Voit.at> <20160518123117.GA13317@tuxteam.de> <2016-05-18T17-35-17@devnull.Karl-Voit.at> <83posj2pze.fsf@gnu.org> <2016-05-18T22-29-50@devnull.Karl-Voit.at> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1463632154 6800 80.91.229.3 (19 May 2016 04:29:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 May 2016 04:29:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 19 06:29:07 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b3Fa6-0001Qr-7e for geh-help-gnu-emacs@m.gmane.org; Thu, 19 May 2016 06:29:06 +0200 Original-Received: from localhost ([::1]:48197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3Fa5-0007rf-9z for geh-help-gnu-emacs@m.gmane.org; Thu, 19 May 2016 00:29:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3FZh-0007qg-Lp for help-gnu-emacs@gnu.org; Thu, 19 May 2016 00:28:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3FZd-0002Bs-Ej for help-gnu-emacs@gnu.org; Thu, 19 May 2016 00:28:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3FZd-0002Bo-BA for help-gnu-emacs@gnu.org; Thu, 19 May 2016 00:28:37 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1385 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b3FZb-0000fB-FI for help-gnu-emacs@gnu.org; Thu, 19 May 2016 00:28:35 -0400 In-reply-to: <2016-05-18T22-29-50@devnull.Karl-Voit.at> (message from Karl Voit on Wed, 18 May 2016 22:30:47 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110062 Archived-At: > From: Karl Voit > Date: Wed, 18 May 2016 22:30:47 +0200 > > > 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. Don't you see it being set to that value in "emacs -Q"? That's what I see here.