emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Nicolas Goaziou
Subject: Re: [O] Bug of "org-export radio targets" with utf-8 characters
Date: Sun, 12 Apr 2015 20:16:27 +0200

Hello,

<address@hidden> 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



reply via email to

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