joostkremers / pandoc-mode

An Emacs minor mode for interacting with Pandoc.
https://joostkremers.github.io/pandoc-mode/
174 stars 14 forks source link

Export error if output folder name contains non-English characters #110

Open AcidMuffin opened 2 years ago

AcidMuffin commented 2 years ago

On Windows 10 when trying to export a document I get the following error:

pandoc.exe: c:/\220\221\220\221\220\220\220\220\220\361\220...//wtf.docx: openBinaryFile: does not exist (No such file or directory)

Folder name had Russian characters in it - apparently, that's what those numbers are in the path. If I rename the folder to all-English, everything works as expected.

joostkremers commented 2 years ago

My apologies, I did see your other post, but I hadn't gotten round to replying yet, mainly because I don't really know what to say. It's obviously an encoding issue, but I'm not sure what's going wrong.

I do have a Windows machine with Pandoc available, though, so I will try to do some investigating.