Setting file encoding for export in org-mode

I export my agenda using

(org-export-icalendar-combine-agenda-files)

and then uploading the resulting file to a web server, from where my gmail calendar can read it.

My org-mode files are encoded both by utf-8 and the ical file. However, gmail looks at cp1252 (or so I think).

How to set file encoding during icalendar export?

+5
source share
1 answer

I tried to reproduce your case. When I exported my agenda files, Emacs wrote them using the iso-latin-1 encoding.

Then I put Cyrillic text in my agenda file, and then Emacs found that he could not write it with the default encoding and asked to use the encoding.

buffer-file-coding-system cp1252 .

+2

All Articles