louietan / anki-editor

Emacs minor mode for making Anki cards with Org
699 stars 87 forks source link

Cannot push notes containing non-ASCII characters #77

Closed ghost closed 3 years ago

ghost commented 3 years ago

Whenever I try to push a note that contains non-ASCII characters, I get a "Got empty reply from AnkiConnect" error message. Creating such a note by directly sending a HTTP request to AnkiConnect works. When I export my notes org file to HTML, non-ASCII characters are displayed correctly (the encoding of the org file is UTF8 Unix).

Edit: Fixed it, the problem was related to request.el, not anki-editor.