zotxt-emacs icon indicating copy to clipboard operation
zotxt-emacs copied to clipboard

smart quotes are not displayed correctly

Open pbienst opened this issue 5 years ago • 5 comments

Windows 10, set up to use utf-8 with (set-language-environment "UTF-8").

When inserting a reference from zotero, the smart quotes are displayed as â\200\230 and â\200/231.

I use the zotero better bibtex plugin, as suggested.

pbienst avatar Jan 03 '20 15:01 pbienst

Thank you for the report! Can you verify that you are using a recent version of request? It is possible this is https://github.com/tkf/emacs-request/issues/77

C-h P request should report the version you are using. Thank you!

egh avatar Jan 07 '20 05:01 egh

I have a fairly recent one: 20191211.2051

pbienst avatar Jan 07 '20 15:01 pbienst

Huh. I'll have to fire up windows & see what's going on here. It works fine in MacOS and Linux as far as I can tell.

egh avatar Jan 07 '20 16:01 egh

@pbienst I tried to reproduce this on a Windows 10 machine and on linux. I was able to do so when request-backend was set to 'url-retrieve. However, my window system has curl installed, and when request-backend is set to curl (which is default when curl is installed), smart quotes work correctly.

I'll look further into the issue, but as a workaround, consider installing curl if you can.

egh avatar Jan 19 '20 19:01 egh

Possibly related: https://github.com/tkf/emacs-request/issues/175

egh avatar Jan 19 '20 19:01 egh