From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug of "org-export radio targets" with utf-8 characters Date: Sun, 12 Apr 2015 20:16:27 +0200 Message-ID: <8738455i10.fsf@nicolasgoaziou.fr> References: <552966E7.84164F.03923@m12-18.163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhMPY-0006bH-B0 for emacs-orgmode@gnu.org; Sun, 12 Apr 2015 14:15:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhMPU-00062s-A9 for emacs-orgmode@gnu.org; Sun, 12 Apr 2015 14:15:12 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:44773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhMPU-00062M-4Q for emacs-orgmode@gnu.org; Sun, 12 Apr 2015 14:15:08 -0400 In-Reply-To: <552966E7.84164F.03923@m12-18.163.com> (kuangdash@163.com's message of "Sat, 11 Apr 2015 18:21:38 +0000") 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: kuangdash@163.com Cc: "emacs-orgmode@gnu.org" Hello, writes: > <<=E4=B8=AD=E6=96=87=E5=AD=97=E7=AC=A6>> and <<<=E7=89=87=E4=BB=AE=E5=90= =8D>>> can=E2=80=99t be exported correctly whether in latex or html.=20 > > It seems to be the problem of function =E2=80=9Corg-export-solidify-link-= text=E2=80=9D=E2=80=A6=E2=80=A6 > > > So, I change the function =E2=80=9Corg-export-solidify-link-text=E2=80=9D= in ox.el with the codes below > > > (defun org-export-solidify-link-text (s) > "Take link text S and make a safe target out of it." > (save-match-data > (mapconcat 'identity (org-split-string (prin1-to-string > (encode-coding-string s 'utf-8)) "[^a-zA-Z0-9_.-:]+") "-"))) Thanks.=20 Actually, the real solution is to erase `org-export-solidify-link-text' altogether. It is a source of problems. I will look into it. Regards, --=20 Nicolas Goaziou