unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
Subject: Re: utf-8 cut/paste
Date: Mon, 24 May 2004 12:18:27 -0400	[thread overview]
Message-ID: <ur7t9n6i4.fsf@gnu.org> (raw)
In-Reply-To: m3oeoem9sy.fsf@seneca.benny.turtle-trading.net

Benjamin,
thanks for your reply,

> * Benjamin Riefenstahl <Orawnzva.Evrsrafgnuy@rcbfg.qr> [2004-05-24 11:52:29 +0200]:
>
> Sam Steingold <sds@gnu.org> writes:
>> the same utf-8 file is in an Emacs buffer, and I try to copy it with
>> `clipboard-kill-ring-save', I cannot paste into notepad or firefox:
>> the inserted text looks like "?????????".
>
> Emacs uses the legacy 8-bit text clipboard format, it doesn't use
> Unicode even on NT-based systems.  8-bit text won't work with
> arbitrary Unicode characters, naturally.
>
> If the text that you want to cut-and-paste only has characters that
> are available in your local 8-bit encoding (windows-1252 typically),
> there may be a solution using charset unification (I don't know how
> that machinery works exactly).

what is "charset unification"?
I thought that if I use unicode (utf-8), all characters are already
in one set.

> In any case you probably need to make sure that your
> selection-coding-system has the right value.

what value is right?

selection-coding-system
 ==> cp1252



-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Booze is the answer. I can't remember the question.

  reply	other threads:[~2004-05-24 16:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23 18:59 utf-8 cut/paste Sam Steingold
2004-05-24  9:52 ` Benjamin Riefenstahl
2004-05-24 16:18   ` Sam Steingold [this message]
2004-05-24 19:19     ` Benjamin Riefenstahl
2004-05-24 21:00       ` Sam Steingold
2004-05-24 23:10         ` Benjamin Riefenstahl
2004-05-25 13:06           ` Sam Steingold
2004-05-25  6:02       ` Eli Zaretskii
2004-05-25 10:03         ` Benjamin Riefenstahl
2004-05-25 12:36           ` Eli Zaretskii
2004-05-25 15:41             ` Sam Steingold
2004-05-26  4:22               ` Kenichi Handa
2004-05-28 17:45                 ` Sam Steingold
2004-05-29 10:04                   ` Jason Rumney
2004-05-26  4:33               ` Miles Bader
2004-05-26 18:11                 ` Sam Steingold
2004-05-26 19:23                   ` David Kastrup
2004-05-26 11:32               ` Eli Zaretskii
2004-05-26 13:31                 ` Sam Steingold
2004-05-26 12:30               ` Benjamin Riefenstahl
2004-05-26 15:48         ` Stefan Monnier
2004-05-26 18:11           ` Eli Zaretskii
2004-05-26 20:02             ` Stefan Monnier
2004-05-27  8:10               ` 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=ur7t9n6i4.fsf@gnu.org \
    --to=sds@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).