emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug of "org-export radio targets" with utf-8 characters


From: kuangdash
Subject: [O] Bug of "org-export radio targets" with utf-8 characters
Date: Sat, 11 Apr 2015 18:21:38 +0000

<<中文字符>> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]