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 s=
tring
Actual: =E2=80=99 (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.=C2=A0