I set up this duplicate line function: https://kundeveloper.com/blog/duplicate-line/
and bound it to the euro symbol like this:
(global-set-key (kbd "M-€") 'duplicate-line)
And it worked (for a while). On my keyboard, left alt + right alt + 4.
However, all of a sudden, when I restarted, it started to give me the following error:
error: M- must prefix a single character, not \342\202\254
and when I look in my init.el
file, it also looks likes this
but if I copy that from init.el
and paste it into stack overflow (as I did at the start of this question) I get the € back!
Does anybody know what I might have changed about my emacs or ubuntu to stop it accepting € as a key?
btw I still get this nice message when I try to use it: