all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: josh buhl <uzs33d@uni-bonn.de>
Subject: Re: emacs, umlauts,  x-windows text mark and paste
Date: Tue, 16 Dec 2003 12:16:28 +0100	[thread overview]
Message-ID: <brmpid$lns$1@f1node01.rhrz.uni-bonn.de> (raw)
In-Reply-To: <brmo98$gh0$1@f1node01.rhrz.uni-bonn.de>

So, I've narrowed it down further. It seems to be an emacs/gtk+ 2 
problem. Emacs has  a problem pasting in text with non-ascii characters 
from any of the apps which are compiled with gtk+ 2. Emacs inserts the 
text properly when it has been freshly marked in kword, kate, xedit, or 
open office writer, and barfs if the same text has been marked in 
mozilla, gedit, or *any gtk+ 2* dialog like any of the gnome dialogs. So 
I can mark a text in mozilla, paste it into xedit, _remark_ it and paste 
it into emacs, and it works, but if I don't remark, emacs barfs.

I'm sure this is related to this general problem:

ISO 14755 specifies using Ctrl+Shift+hex-digit to input unicode.
gtk2 implemented ISO 14755 input method.

There are several apps which are now having problems with this (see
http://bugzilla.mozilla.org/show_bug.cgi?id=186789 for example.)


The garbaged text correspond exactly to the unicode hex encodings for 
the characters. for example hex 00DF is ß and emacs displays the pasted 
in ß as \x{00DF}. This certainly isn't a coincidence. Why does it work 
if I login with the session language set to german, but not if I set LC_ALL?


-jb



josh buhl wrote:

> On the page I've been using for test purposes Mozilla says iso-8559-1, 
> which emacs should be able to handle, but this has actually nothing to 
> do with mozilla. It's a problem with how the text is being put in the 
> x-windows systems clipboard and how emacs is reading it back out. Only 
> emacs seems to have a problem with this. Running my usual C (en) locale, 
> i can mark and copy this same german text back and forth between open 
> office writer, gedit, kword, kedit, and even the ancient xedit. They all 
> get the special characters properly, only Emacs barfs, and Emacs is 
> otherwise (in my humble opinion) the most advanced editor in the world, 
> but it can't seem to get a simple copy and paste right. What gives?

  reply	other threads:[~2003-12-16 11:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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='brmpid$lns$1@f1node01.rhrz.uni-bonn.de' \
    --to=uzs33d@uni-bonn.de \
    /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.