all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
Cc: Sam Steingold <sds@gnu.org>
Subject: Re: utf-8 cut/paste
Date: Tue, 25 May 2004 01:10:17 +0200	[thread overview]
Message-ID: <m3wu31l8va.fsf@seneca.benny.turtle-trading.net> (raw)
In-Reply-To: <u4qq5levq.fsf@gnu.org> (Sam Steingold's message of "Mon, 24 May 2004 17:00:25 -0400")

Hi Sam,

Sam Steingold <sds@gnu.org> writes:
> Suppose I have a utf-8 buffer (all my buffers are unicode because of
> (prefer-coding-system 'utf-8) and (modify-coding-system-alist 'file
> "" 'utf-8)) with cyrillic characters.  what do I do to get them into
> firefox?

You don't, at least not via the Windows clipboard.  Re-read what I
wrote earlier:

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

I assume you are on an English system.  So your 8-bit Windows encoding
is cp1252 (Latin-1 plus MS extensions).  That doesn't cover cyrillic,
so you can't cut-and-paste cyrillic.  That's regardless of what Emacs
supports or uses internally.  Emacs would have to use the Unicode
version of the Windows clipboard transfer to do this, but as of yet it
doesn't.

You can of course write the data into a file in UTF-8 and read that in
Firefox or Notepad.

benny

  reply	other threads:[~2004-05-24 23:10 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
2004-05-24 19:19     ` Benjamin Riefenstahl
2004-05-24 21:00       ` Sam Steingold
2004-05-24 23:10         ` Benjamin Riefenstahl [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3wu31l8va.fsf@seneca.benny.turtle-trading.net \
    --to=benjamin.riefenstahl@epost.de \
    --cc=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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.