diff options
author | Jambunathan K <kjambunathan@gmail.com> | 2011-07-18 00:26:41 +0530 |
---|---|---|
committer | Jambunathan K <kjambunathan@gmail.com> | 2011-07-18 14:55:13 +0530 |
commit | 3aa87582b6d5d46dc13de28f0a6e50d7bb31a764 (patch) | |
tree | af9dcde658435e24f17668586d0dabe0c48007a7 | |
parent | 366254217ac6faea20a5d43fae065bd028806eab (diff) | |
download | org-mode-3aa87582b6d5d46dc13de28f0a6e50d7bb31a764.tar.gz |
org-odt: Correctly export iso-8859-1 files with non-ascii chars
* contrib/lisp/org-odt.el (org-odt-get): Set
CODING-SYSTEM-FOR-WRITE and CODING-SYSTEM-FOR-SAVE to 'utf-8
irrespective of buffer-file-coding-system.
Fixes issue reported by Renzo Been in the following post.
http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00795.html
-rw-r--r-- | contrib/lisp/org-odt.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/lisp/org-odt.el b/contrib/lisp/org-odt.el index f3a4067..bd2ea33 100644 --- a/contrib/lisp/org-odt.el +++ b/contrib/lisp/org-odt.el @@ -1380,6 +1380,8 @@ MAY-INLINE-P allows inlining it as an image." (PLAIN-TEXT-MAP '(("&" . "&") ("<" . "<") (">" . ">"))) (TABLE-FIRST-COLUMN-AS-LABELS nil) (FOOTNOTE-SEPARATOR (org-lparse-format 'FONTIFY "," 'superscript)) + (CODING-SYSTEM-FOR-WRITE 'utf-8) + (CODING-SYSTEM-FOR-SAVE 'utf-8) (t (error "Unknown property: %s" what)))) (defun org-odt-parse-label (label) |