From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sander Boer Subject: how to sanitize org-protocol text ? Date: Wed, 08 Apr 2015 16:05:00 +0200 Message-ID: <5525358C.6040005@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfqbO-0004zh-Mr for emacs-orgmode@gnu.org; Wed, 08 Apr 2015 10:05:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfqbI-0004sf-So for emacs-orgmode@gnu.org; Wed, 08 Apr 2015 10:05:08 -0400 Received: from mail-wg0-x236.google.com ([2a00:1450:400c:c00::236]:32835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfqbI-0004nd-Gh for emacs-orgmode@gnu.org; Wed, 08 Apr 2015 10:05:04 -0400 Received: by wgin8 with SMTP id n8so89394094wgi.0 for ; Wed, 08 Apr 2015 07:05:03 -0700 (PDT) Received: from [192.168.178.100] (092-111-183-033.static.chello.nl. [92.111.183.33]) by mx.google.com with ESMTPSA id hw7sm15777827wjb.24.2015.04.08.07.05.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Apr 2015 07:05:02 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I just set up org-protocol and it works fine. However, when I have text selected to have it end up in the body of the new note I get presented with two problems: - Every linebreak has a trailing ^M, this does not happen when I paste the text. - Unicode quote symbols ? The text is speckled with \222 ("there’s" becomes "there\222s") or \221 (‘quote’ becomes \221quote\222) Is there a solution ? gr S