all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ralf Fassel <ralfixx@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: word syntax/umlauts emacs 23 vs 22
Date: Thu, 21 Oct 2010 15:25:10 +0200	[thread overview]
Message-ID: <ygad3r34r0p.fsf@gepard2.akutech-local.de> (raw)
In-Reply-To: jwvbp6ocpni.fsf-monnier+gnu.emacs.help@gnu.org

* Stefan Monnier <monnier@iro.umontreal.ca>
| Your "unibyte encoding" is most likely latin-1 or latin-9, so your
| problem now is that Emacs for some reason does not try latin-1 for
| those files that don't use utf-8.

Lets assume Latin-9 (IIRC that is Latin-1 with the Euro-Sign?).

| C-x RET r latin-1 RET should cause the file to be re-read as a latin-1
| file, and it should then be displayed properly.

The file is one line:

    % cat foo.txt
    Herr Müller editiert mit Emacs.
    % od -c foo.txt
    0000000   H   e   r   r       M 374   l   l   e   r       e   d   i   t
    0000020   i   e   r   t       m   i   t       E   m   a   c   s   .  \n
    0000040

If I load that in
  emacs23 -Q ~/tmp/foo.txt
the file is displayed correctly (mode line shows "1:--- foo.txt"),
Umlauts are displayed properly and word movement works.


However, a different, larger (800+kB) file which is also supposed to be
latin-1 displays as "t:--- file", and the single-byte Umlauts are
displayed as octal.  How can I find out why emacs loads this file in 't'
instead of '1'?  A quick search shows only doubled umlauts such as
'Grüße' or öö, but if I add these to foo.txt, emacs still loads foo.txt
as "1:".

Thanks
R'


  reply	other threads:[~2010-10-21 13:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-12 17:00 word syntax/umlauts emacs 23 vs 22 Ralf Fassel
2010-10-12 22:15 ` Stefan Monnier
     [not found]   ` <yga7hhm1tma.fsf@gepard2.akutech-local.de>
2010-10-15 17:42     ` Stefan Monnier
2010-10-20 19:28       ` Ralf Fassel
2010-10-21  0:18         ` Jason Rumney
2010-10-21  1:27         ` Stefan Monnier
2010-10-21 13:25           ` Ralf Fassel [this message]
2010-10-21 15:24             ` Jason Rumney
2010-10-25  9:33               ` Ralf Fassel
2010-10-29 18:26                 ` Stefan Monnier
2010-11-04  9:36                   ` Ralf Fassel
2010-11-04 19:37                     ` Stefan Monnier
2010-10-26  2:53               ` Ilya Zakharevich
     [not found]             ` <jwv8w1p4pjo.fsf-monnier+gnu.emacs.help@gnu.org>
2010-10-25  9:31               ` Ralf Fassel

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=ygad3r34r0p.fsf@gepard2.akutech-local.de \
    --to=ralfixx@gmx.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.