help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: garbage chars when pasting French chars into emacs


From: Eli Zaretskii
Subject: Re: garbage chars when pasting French chars into emacs
Date: Thu, 02 Feb 2012 05:55:18 +0200

> Date: Wed, 01 Feb 2012 21:39:22 -0500
> From: ken <gebser@mousecar.com>
> 
> > What is your value of selection-coding-system?  Try setting it to
> > something like ctext-with-extensions.
> 
> Thanks, Eli,
> 
> Immediately prior to doing the copy-and-paste I ran all of these:
> 
> (set-language-environment               'UTF-8)
> (set-default-coding-systems             'utf-8)
> (setq file-name-coding-system           'utf-8)
> (setq default-buffer-file-coding-system 'utf-8)
> (setq coding-system-for-write           'utf-8)
> (set-keyboard-coding-system             'utf-8)
> (set-terminal-coding-system             'utf-8)
> (set-clipboard-coding-system            'utf-8)
> (set-selection-coding-system            'utf-8)
> (prefer-coding-system                   'utf-8)
> (modify-coding-system-alist 'process "\\*shell\\*\\'" 'utf-8-unix)

Not a good idea, I'm afraid: the UTF-8 support in Emacs 21 left a lot
to be desired.

> Following your advice, I ran
> 
> (set-selection-coding-system 'ctext-with-extensions)
> 
> and then did the same copy-and-paste again.  This got more of the 
> characters correct, but not all of them.

Can you show the original text, and then what you have after pasting?
I need to see which characters aren't pasted correctly.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]