all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: umlauts (8bit characters) input
Date: Wed, 2 Feb 2005 20:37:54 +0100	[thread overview]
Message-ID: <52d5fb0f65f30a624dbb0ffc0656cd06@Web.DE> (raw)
In-Reply-To: <87zmynuhkm.fsf-monnier+gnu.emacs.help@gnu.org>


Am 02.02.2005 um 16:19 schrieb Stefan Monnier:

>
>> real umlauts! But in shell they're gone ... a bunch of control codes? 
>> (I
>> am using tcsh and see 
>> a\314?o\314?u\314?\303?U\314?O\314?A\314?\342?\254
>> instead of äöü?ÜÖÄÛ, shell has only 'uu-')
>
> Could you try posting in a more widely available charset than 
> mac-roman?
> The last char of "uu-" is meaningless in a shell buffer (it's the 
> encoding
> of the file associated with the buffer, and since shell buffers have no
> associated file, ...).

Sorry, this is no mac-roman, it's exactly what I see in xterm or in 
Terminal in the shell buffer -- although I should see something 
different: äöüßÜÖÄ€. That's the file's name. (Mail.app claims that it 
is using a 7bit encoding.)

>
>> The X11 client is even worse: copy and paste in this same Emacs does 
>> not
>> work (a simple ä is converted to a whole book volume of glyphs that 
>> are
>> hard to describe),
>
> Huh?  You mean you can't copy&paste from Emacs to itself correctly?
> Or do you mean you can't correctly copy from Emacs to something else?
> Or you can't correctly paste from something else to Emacs?

My .emacs file is only 8bit, so I chose ISO Latin-15. In its header it 
is explicitly written

;;; -*- mode: Emacs-Lisp; coding: iso-8859-15; -*-

When I copy a string with characters from this set via double-clicking 
the selection and paste it either in the same or in the (Unicode) 
scratch buffer the simple accented chars become each a series of this 
character and mostly \216 -- me and others have seen similiar things in 
GNOME under Linux when copying from outside GNU Emacs. Pressing umlauts 
etc. on my keyboard enter exactly these umlauts into the buffers. C-x = 
explains in hex that they're taken from the usual code positions (for 
example Ä is 0x8c4, ä is 0x8e4).

I can send you a snapshot privately ...


>> and displays 'a<box>o<box>u...Û', and shell uses no mode '--:**...' 
>> as in
>> Terminal and shows the name as in Terminal.
>
> The <box> just means that it couldn't find a font to display the char.
> Go to that char and hit C-u C-x = to see which char it is.  Maybe you 
> just
> need to help Emacs find the right font.

There is no char. So there should not be a box. The correct string is 
äöüß... and as it's a file name, it's UTF-8 encoded. (Since the 
displayed glyphs are the chars stripped off their diaeresis the box 
could be ... but it's : "(01211310, 332488, 0x512c8, file ...). A bit 
astronomical high. æ and Æ and € are represented by themselves.

> But of course, first we need to know which Emacs version you're 
> running.
> If it's Emacs-CVS, please move this discussion to emacs-devel@gnu.org 
> or
> emacs-pretest-bug@gnu.org.

Since the Fink team decided to distribute in the unstable section an 
Emacs from CVS ... (but there was not much difference to 21.3.50, it 
might be exactly 0 in this case)

--
Greetings

   Pete

  reply	other threads:[~2005-02-02 19:37 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-31 16:44 umlauts (8bit characters) input Hendrik Sattler
2005-01-31 21:52 ` Peter Dyballa
     [not found] ` <mailman.226.1107211155.2841.help-gnu-emacs@gnu.org>
2005-01-31 22:44   ` Hendrik Sattler
2005-01-31 23:47     ` Peter Dyballa
     [not found]     ` <mailman.238.1107216437.2841.help-gnu-emacs@gnu.org>
2005-02-01  0:41       ` Hendrik Sattler
2005-02-01 10:31         ` Peter Dyballa
     [not found]         ` <mailman.279.1107254715.2841.help-gnu-emacs@gnu.org>
2005-02-01 11:37           ` Hendrik Sattler
2005-02-01 12:36             ` David Kastrup
2005-02-01 13:37               ` Hendrik Sattler
2005-02-01 15:25                 ` Peter Dyballa
2005-02-02 10:27               ` Peter Dyballa
     [not found]               ` <mailman.463.1107343604.2841.help-gnu-emacs@gnu.org>
2005-02-02 12:38                 ` David Kastrup
2005-02-02 13:12                   ` Peter Dyballa
     [not found]                   ` <mailman.482.1107350962.2841.help-gnu-emacs@gnu.org>
2005-02-02 14:10                     ` David Kastrup
2005-02-02 14:59                       ` Ismael Valladolid Torres
2005-02-02 18:21                         ` Peter Dyballa
2005-02-02 18:17                       ` Peter Dyballa
2005-02-02 15:19                 ` Stefan Monnier
2005-02-02 19:37                   ` Peter Dyballa [this message]
     [not found]                   ` <mailman.578.1107374620.2841.help-gnu-emacs@gnu.org>
2005-02-03  4:09                     ` Stefan Monnier
2005-02-01 13:07             ` Reiner Steib
2005-02-01 13:47               ` Hendrik Sattler
2005-02-01 15:21             ` Peter Dyballa
2005-02-01 15:50 ` Hendrik Sattler
2005-02-01 16:05   ` David Kastrup
2005-02-01 16:08     ` Hendrik Sattler

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=52d5fb0f65f30a624dbb0ffc0656cd06@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@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.