I am exporting my agenda with
(org-export-icalendar-combine-agenda-files)
and then loading the resulting file to a webserver from where my gmail calendar can read it.
My org-mode files are all utf-8 encoded and so is the ical file. However gmail eypects cp1252 (or so I think).
How can I set the file encoding during icalendar export?
I tried to reproduce your case. When I exported my agenda files Emacs wrote them using iso-latin-1 encoding.
Then I put some Cyrillic text into my agenda files and then Emacs detected that it cannot write it with the default encoding and prompted for encoding to use.
I suggest that you check the variable buffer-file-coding-system
and update it to cp1252 for agenda files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With