emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] patch for org-freemind.el


From: Tokuya Kameshima
Subject: [Orgmode] patch for org-freemind.el
Date: Wed, 18 Nov 2009 01:38:32 +0900

Hi Carsten,

This is a small patch for org-freemind.el to convert the multibyte
characters to unicode numeric character references such as "亀".
It is likely that Freemind supports the multibyte characters in this
style.

Thanks,

--Tokuya

--- org-freemind.el.ORIG        Mon Nov 16 23:26:36 2009
+++ org-freemind.el     Tue Nov 17 00:27:22 2009
@@ -240,7 +240,7 @@
                       ;; file is utf-8:
                       ;;
                       ;; (format "&#x%x;" (- cc ;; ?\x800))
-                      (char-to-string cc)
+                      (format "&#x%x;" (encode-char cc 'ucs))
                       ))))
     fm-str))
 

reply via email to

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