all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* copy-n-paste UTF-8 characters
@ 2010-05-05 17:13 ken
  0 siblings, 0 replies; 2+ messages in thread
From: ken @ 2010-05-05 17:13 UTC (permalink / raw)
  To: GNU Emacs List

When I open a webpage encoded in utf-8, copy some characters, then past
them into an emacs buffer, they turn into (basically) garbage
characters.  The buffer is suppose to handle utf-8 ... the second
character in the modeline is a "U" and I have

<!-- -*- coding: utf-8; -*- -->

at the top of the buffer... and it was there when I loaded the file.

Is there some other emacs variable which needs to be set so that
non-English characters are pasted correctly?  (I thought this was
working previously.)

Oh, yeah... if I paste the same text into Thunderbird, the text is fine,
just what it should be.


tia,
ken

-- 
Find research and analysis on US healthcare, health insurance,
and health policy at: <http://healthpolicydaily.blogspot.com/>




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: copy-n-paste UTF-8 characters
       [not found] <mailman.15.1273079635.2155.help-gnu-emacs@gnu.org>
@ 2010-05-05 17:19 ` Harald Hanche-Olsen
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Hanche-Olsen @ 2010-05-05 17:19 UTC (permalink / raw)
  To: help-gnu-emacs

+ ken <gebser@mousecar.com>:

> When I open a webpage encoded in utf-8, copy some characters, then
> past them into an emacs buffer, they turn into (basically) garbage
> characters.

Check the variable selection-coding-system. Set it if necessary with
set-selection-coding-system.

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
  when there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-05 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 17:13 copy-n-paste UTF-8 characters ken
     [not found] <mailman.15.1273079635.2155.help-gnu-emacs@gnu.org>
2010-05-05 17:19 ` Harald Hanche-Olsen

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.