From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Encoding Problem in export? Date: Wed, 24 Jul 2013 11:16:46 +0200 Message-ID: <87ehao5ncx.fsf@gmail.com> References: <87bo5s27ey.fsf@sachwertpartner.de> <877ggg7suh.fsf@gmail.com> <51EF32F4.9030309@gmx.de> <87txjk5s2q.fsf@gmail.com> <51EF947A.2080301@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1vBT-0000QL-El for emacs-orgmode@gnu.org; Wed, 24 Jul 2013 05:16:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1vBS-0003qD-8g for emacs-orgmode@gnu.org; Wed, 24 Jul 2013 05:16:35 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:42290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1vBS-0003q0-2w for emacs-orgmode@gnu.org; Wed, 24 Jul 2013 05:16:34 -0400 Received: by mail-wi0-f171.google.com with SMTP id hj3so4008679wib.10 for ; Wed, 24 Jul 2013 02:16:33 -0700 (PDT) In-Reply-To: <51EF947A.2080301@gmx.de> (Robert Eckl's message of "Wed, 24 Jul 2013 10:46:50 +0200") 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: eckl.r@gmx.de Cc: emacs-orgmode@gnu.org Robert Eckl writes: > Ok, using visible-mode i see the link with %3D, i can replace it, > then all works fine. If iinsert a new link from clipboard, i get %3D. Then, as I said, `org-link-escape' (called from `org-insert-link', aka C-c C-l) is buggy. I think we should replace every occurence of `org-link-escape' with `url-encode-url' and `org-link-unescape' with `url-unhex-string'. I can't see a reason to reinvent the wheel here. AFAICT, only org-mobile.el uses optional arguments from `org-link-escape'. It just begs for a new internal function in org-mobile.el. WDYT? Regards, -- Nicolas Goaziou