Charo
Charo

Reputation: 126

Copy & paste non-ASCII characters to an Emacs window from another window doesn't work correctly

I work with emacs23 with the iso-8859-1 coding system. I have these lines in my .emacs file:

(setq default-buffer-file-coding-system 'iso-8859-1)

(set-selection-coding-system 'iso-8859-1)

However, if I try to copy a non-ASCII character from another window and paste it to my emacs window, it doesn't work correctly. For instance, if I try to copy and paste "ì" I get "ì". How can I fix it?

Upvotes: 0

Views: 601

Answers (1)

Charo
Charo

Reputation: 126

As suggested by Karol S, it seems that the best thing to do is switch emacs to UTF-8.

Upvotes: 1

Related Questions