From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Operating on yanked region Date: Wed, 18 May 2016 17:30:13 +0600 Message-ID: References: <2016-05-18T13-02-10@devnull.Karl-Voit.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463571070 16601 80.91.229.3 (18 May 2016 11:31:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 May 2016 11:31:10 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Karl Voit Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 18 13:31:09 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 1b2zgs-0003AY-8h for geh-help-gnu-emacs@m.gmane.org; Wed, 18 May 2016 13:31:02 +0200 Original-Received: from localhost ([::1]:44365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2zgr-0005Up-Bn for geh-help-gnu-emacs@m.gmane.org; Wed, 18 May 2016 07:31:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2zgT-0005U3-AT for help-gnu-emacs@gnu.org; Wed, 18 May 2016 07:30:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2zgR-0001Ge-Cu for help-gnu-emacs@gnu.org; Wed, 18 May 2016 07:30:36 -0400 Original-Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:35086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2zgQ-0001GZ-Et for help-gnu-emacs@gnu.org; Wed, 18 May 2016 07:30:35 -0400 Original-Received: by mail-lf0-x230.google.com with SMTP id j8so18650095lfd.2 for ; Wed, 18 May 2016 04:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=QS2SGS3yY9Y6fIKRfkdTq4LEDPvCEdZKY/4ue4BSw7c=; b=0B+OgzV/qLBbYVSLozYu42Gc3AI3aEEp9UI+ZcbpbnqqNVF3+dJ3WXWJhqNeC0WhQo Y+XEFil4O7L/JsmYBBoNsuzKNNhcqzlVI+91wfQdd0N01eaz9+0ybXApoz+6GJYfS6c7 xwS1AZNuveG2/o6WKtNI/ylxczViX1KL0k+mmxm+X17xLuczhfCHtoMQh3UJA/SHcSNq 1pxVay7My6xvp72SiaG1zmLQ6cOtKcbZz0ttpngp0yJw8NSU5qfSeX2ZFEHN6ESD9sNt i/NnIJLMtvoHiJLgTKg+ndCWDOMFHsfdwDvvwxZNdNxX/o8QyGZ7xHgzJUeM6eTwEDyM vI2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=QS2SGS3yY9Y6fIKRfkdTq4LEDPvCEdZKY/4ue4BSw7c=; b=a/lmh3ZVDqtzrEoeNOdKGjmeQCRZYcxMkGHz1G2XzVonDSD077u1qJ6M+l6l7akIFc tQuZncsziHZmkTRrfvO3CvuwJkQyBY09ORgoYsN+2iGbJSKl7fmCehcatRlFR1JFdKfN bhgMJby1dxEzF92KWe6UxP3vKK6Jla2AeSAfOFBcSzBSG4fBoQ83iRdaBgJKu6lsQuet Ggm4znSlbQJZpZGm9+OL9W7SIpn3aQDmcoCOdqUGhLu/5i60iEchZK/wFeDn6KdfsX32 38rCIPkhyQo28q8IZD6K+wpYyuQV2XaNX5CsR5e52K9GHCLvAwAnUbyjcepWpH8/UUQS 6/VQ== X-Gm-Message-State: AOPr4FUPLWnucTL5e3SoLGljr6APOJCNajOyC6HRNbi78b6rLN/on4XwkDsPSvsZ1/W7/J+LsAmP8hEkfAogdA== X-Received: by 10.25.133.213 with SMTP id h204mr2115197lfd.73.1463571033149; Wed, 18 May 2016 04:30:33 -0700 (PDT) Original-Received: by 10.114.11.161 with HTTP; Wed, 18 May 2016 04:30:13 -0700 (PDT) In-Reply-To: <2016-05-18T13-02-10@devnull.Karl-Voit.at> X-Google-Sender-Auth: ia3cHSmIKwYM2mkAKTROHvhqI4A X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::230 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:110046 Archived-At: On Wed, May 18, 2016 at 5:07 PM, Karl Voit wrote: > When I paste text from a Windows application to my Emacs (running > mainly Org-mode), I get wrong charset. > > For correcting such wrong character sets, I want to write a function > that corrects the charset. I cannot help with your needs, but you should not have to jump through hoops just to get text encoding right, as long as the originating application puts Unicode text on clipboard. (And I=E2=80=99m pretty convinc= ed Outlook does.) If Emacs on Windows takes encoded text from clipboard when Unicode is available, it=E2=80=99s a bug in Emacs.