From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
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 [thread overview]
Message-ID: <20160518123117.GA13317@tuxteam.de> (raw)
In-Reply-To: <2016-05-18T14-10-52@devnull.Karl-Voit.at>
-----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-----
next prev parent reply other threads:[~2016-05-18 12:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-18 11:07 Operating on yanked region Karl Voit
2016-05-18 11:30 ` Yuri Khan
2016-05-18 12:13 ` Emacs 24.5.1 has wrong charset on yanked text with Windows (was: Operating on yanked region) Karl Voit
2016-05-18 12:31 ` tomas [this message]
2016-05-18 15:53 ` Karl Voit
2016-05-18 18:14 ` Eli Zaretskii
2016-05-18 20:30 ` Karl Voit
2016-05-19 4:28 ` Eli Zaretskii
2016-05-19 8:38 ` tomas
2016-06-09 10:10 ` Karl Voit
2016-06-09 10:18 ` tomas
2016-05-18 13:25 ` Yuri Khan
2016-05-18 18:02 ` Operating on yanked region Eli Zaretskii
2016-05-18 17:59 ` Eli Zaretskii
2016-06-09 9:43 ` Karl Voit
2016-06-09 12:33 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160518123117.GA13317@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).