[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 24.5.1 has wrong charset on yanked text with Windows (was: Ope
From: |
tomas |
Subject: |
Re: Emacs 24.5.1 has wrong charset on yanked text with Windows (was: Operating on yanked region) |
Date: |
Wed, 18 May 2016 14:31:17 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, May 18, 2016 at 02:13:52PM +0200, Karl Voit wrote:
> * Yuri Khan <yuri.v.khan@gmail.com> wrote:
> > On Wed, May 18, 2016 at 5:07 PM, Karl Voit <devnull@karl-voit.at> wrote:
> >
> >> When I paste text from a Windows application to my Emacs (running
> >> mainly Org-mode), I get wrong charset.
> >>
> >> For correcting such wrong character sets, I want to write a function
> >> that corrects the charset.
> >
> > I cannot help with your needs,
>
> That's OK.
>
> Besides the good points regarding charset below, I still need to
> search&replace some things on the yanked region.
>
> > but you should not have to jump through
> > hoops just to get text encoding right, as long as the originating
> > application puts Unicode text on clipboard. (And I’m pretty convinced
> > Outlook does.)
>
> How can I test this?
I know very little about Windows these days. But the documentation
for the variables "selection-coding-system" and "x-select-request-type"
might contain relevant information. You can access this doc with
C-h v <variable name>
Hope this gets you a step further
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlc8YJUACgkQBcgs9XrR2kb3cwCeIzxVtUd+OcO/hID1vJRayBbN
ukkAn1Upbc1Rap6NCO22+KiyrbrenpHv
=EEwS
-----END PGP SIGNATURE-----
Re: Operating on yanked region, Eli Zaretskii, 2016/05/18
Re: Operating on yanked region, Eli Zaretskii, 2016/05/18