unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs, umlauts,  x-windows text mark and paste
@ 2003-12-16  8:36 josh buhl
  2003-12-16  9:11 ` Sergei Pokrovsky
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: josh buhl @ 2003-12-16  8:36 UTC (permalink / raw)


Hi,

When I mark text in some other application that contains non-ascii 
characters, e.g. in mozilla from a german webpage containing ö ä ü ß, 
and paste it into an emacs buffer, than all the special characters get 
shown as control sequences. Here's an example:

I mark this text in mozilla:

Soße wird in einer extra Soßenschüssel...


Paste it into my Emacs buffer and get this:

So\x{00DF}e wird in einer extra So\x{00DF}ensch\x{00FC}ssel...



Questions:

1. how can I get this to work properly?

2. which command could I execute in emacs to get it to switch the 
encoding of the current buffer, or whatever, so that the garbled 
characters magically get converted to what they're supposed to be?

3. why is this like this?

I've struggled with this problem _for years_ and never have found an 
easy solution. I'm running emacs 21.3.1 on debian testing under gnome 
2.4 with english as the default language environment. I do know that if 
I log out, and log in setting the session language to german, then I can 
cut an paste german text into an emacs buffer with no problem. However, 
it's not enough to set the LANG variable: if I open a terminal, set 
LANG=german or de, and start emacs, it still doesn't work.

I've read the mule section in the emacs manual about ten times, but 
never have been able to make heads or tails of it.

If anybody can help me clear up this problem I'd really appreciate it!

-jb

-- 
I awaken to hear for the first time
the music I remember I've known all along,
and find it playing Everywhere.

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

end of thread, other threads:[~2003-12-18  9:56 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-16  8:36 emacs, umlauts, x-windows text mark and paste josh buhl
2003-12-16  9:11 ` Sergei Pokrovsky
2003-12-16  9:40 ` Harald Maier
2003-12-16 10:11 ` erasurehead
2003-12-16 10:33   ` Harald Maier
2003-12-16 10:54     ` josh buhl
2003-12-16 11:16       ` josh buhl
2003-12-17  6:07         ` Eli Zaretskii
     [not found]         ` <mailman.175.1071644836.868.help-gnu-emacs@gnu.org>
2003-12-17  8:17           ` josh buhl
2003-12-17  8:19           ` josh buhl
2003-12-17  9:25             ` Eli Zaretskii
     [not found]             ` <mailman.181.1071656744.868.help-gnu-emacs@gnu.org>
2003-12-17  9:57               ` Sergei Pokrovsky
2003-12-17 10:51               ` Harald Maier
2003-12-17 13:56                 ` josh buhl
2003-12-17 11:43               ` Edi Weitz
2003-12-17 18:20                 ` Eli Zaretskii
2003-12-17 13:54               ` erasurehead
2003-12-17 14:00                 ` josh buhl
2003-12-17 18:24                 ` Eli Zaretskii
     [not found]                 ` <mailman.210.1071689295.868.help-gnu-emacs@gnu.org>
2003-12-18  8:53                   ` josh buhl
2003-12-16 10:57   ` Sergei Pokrovsky
2003-12-16 10:12 ` josh buhl
2003-12-18  9:54 ` josh buhl
2003-12-18  9:56   ` josh buhl

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