Amy Grinn <grinn....@gmail.com> writes: > I want to export a document with a different encoding to ODT. The file > has a buffer coding system of 'utf-8-with-signature-unix' and exports to > other formats, such as HTML, well. No errors occur when exporting to > odt, these are all the messages that are printed: > ... > However, when opening with LibreOffice, the file needs to be 'repaired' > because it is 'corrupt'. Converting to pdf with libreoffice --convert-to > pdf also fails silently and does not produce a pdf. > > Changing the buffer coding system to 'utf-8-unix' exports as expected.
Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=34a354f0fd -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>