emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <kuangdash@163.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Bug of "org-export radio targets" with utf-8 characters
Date: Sat, 11 Apr 2015 18:21:38 +0000	[thread overview]
Message-ID: <552966E7.84164F.03923@m12-18.163.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]


<<中文字符>> 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_.-:]+") "-")))


May it be help.

[-- Attachment #2: Type: text/html, Size: 1758 bytes --]

             reply	other threads:[~2015-04-11 18:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-11 18:21 kuangdash [this message]
2015-04-12 18:16 ` Bug of "org-export radio targets" with utf-8 characters Nicolas Goaziou

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=552966E7.84164F.03923@m12-18.163.com \
    --to=kuangdash@163.com \
    --cc=emacs-orgmode@gnu.org \
    /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).