emacs-devel
[Top][All Lists]
Advanced

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

Re: Cut buffers and character encoding


From: Romain Francoise
Subject: Re: Cut buffers and character encoding
Date: Fri, 10 Nov 2006 14:39:27 +0100

Kenichi Handa <address@hidden> writes:

> I vaguely remember that I changed cut-buffer decoding to use
> locale-coding-system (if any) instead of iso-8859-1 upon a
> bug report from someone.  He claimed that many X
> applications store a data encoded by the current locale in
> cut-buffer (even if that doesn't conform to ICCCM), thus it
> is better that Emacs also decodes it by the coding system
> specified by the locale.  Even xterm, when run under, for
> instance, cs_CS.ISO8859-2 locale, stores ISO8859-2
> characters as is in cut buffer.

Would it be feasible to use `detect-coding-string' to decide which
encoding to use?

-- 
Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter




reply via email to

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