Re: [O] Add publishing with utf8

2011-11-23 Thread sindikat
Now i have (set-language-environment UTF-8) (prefer-coding-system 'utf-8-unix) (setq org-export-html-coding-system 'utf-8-unix) and publishing works perfectly. Funny, that i have every locale set to en_US.UTF-8, but LANGUAGE and LC_ALL set to empty. But when i set them to en_US.UTF-8, Emacs

Re: [O] Add publishing with utf8

2011-11-22 Thread Jambunathan K
My html files are exported with charset=utf-8. I believe that that's because my org-mode buffers are utf-8 and ultimately because I've set LANG=en_US.UTF-8. Try the following when visiting your org file (actually, a backup of your org file :-)) o C-x RET f utf-8 RET o Save the file.

Re: [O] Add publishing with utf8

2011-11-22 Thread sindikat
I added this to my .emacs: (set-language-environment UTF-8) (prefer-coding-system 'utf-8-unix) (org-export-html-coding-system 'utf-8-unix) but Emacs still opens files with pure ASCII as undecided-unix, thus producing wrong iso-8859-1 in my charsets again. I don't know what to do. Is there

Re: [O] Add publishing with utf8

2011-11-22 Thread Nick Dokos
sindikat sindi...@mail36.net wrote: I added this to my .emacs: (set-language-environment UTF-8) (prefer-coding-system 'utf-8-unix) (org-export-html-coding-system 'utf-8-unix) This last one is wrong: (setq org-export-html-coding-system 'utf-8-unix) might work better. This might be

Re: [O] Add publishing with utf8

2011-11-22 Thread Olaf Dietsche
sindikat sindi...@mail36.net writes: I added this to my .emacs: (set-language-environment UTF-8) (prefer-coding-system 'utf-8-unix) This is what I use. Even when I open a new file, the buffer coding system is chosen as utf-8-unix, shown as U: in the mode line. Maybe your environment is

[O] Add publishing with utf8

2011-11-21 Thread sindikat
I use standard org-mode methods to publish my projects to html. However by default they are published with tag meta http-equiv=Content-Type content=text/html;charset=iso-8859-1/, however i need charset to be changed to utf8, as i am using Russian in my blog too. Please make it possible