From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: kuangdash@163.com
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Bug of "org-export radio targets" with utf-8 characters
Date: Sun, 12 Apr 2015 20:16:27 +0200 [thread overview]
Message-ID: <8738455i10.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <552966E7.84164F.03923@m12-18.163.com> (kuangdash@163.com's message of "Sat, 11 Apr 2015 18:21:38 +0000")
Hello,
<kuangdash@163.com> writes:
> <<中文字符>> and <<<片仮名>>> can’t be exported correctly whether in latex or html.
>
> It seems to be the problem of function “org-export-solidify-link-text”……
>
>
> So, I change the function “org-export-solidify-link-text” 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.
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,
--
Nicolas Goaziou
prev parent reply other threads:[~2015-04-12 18:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-11 18:21 Bug of "org-export radio targets" with utf-8 characters kuangdash
2015-04-12 18:16 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738455i10.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=kuangdash@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).