Philipp Stephani <p.stephani2@gmail.com> schrieb am Mi., 27. Apr. 2016 um 16:16 Uhr:

emacs -Q
M-x electric-quote-mode
M-x customize-variable RET electric-quote-string, set it to t, save
M-x python-mode
Hit '

Expected: ' (ASCII apostrophe) is inserted because point is outside a string
Actual: ’ (Unicode quote) is inserted

This seems to happen only in Python mode, not in e.g. emacs-lisp-mode.

Also happens in C++ mode, and probably others.