From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Fassel Newsgroups: gmane.emacs.help Subject: Re: word syntax/umlauts emacs 23 vs 22 Date: Thu, 21 Oct 2010 15:25:10 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291953498 1489 80.91.229.12 (10 Dec 2010 03:58:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 03:58:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 10 04:58:14 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQu7Y-0005Yn-CO for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Dec 2010 04:58:13 +0100 Original-Received: from localhost ([127.0.0.1]:36485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQu65-0001MS-UM for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 22:56:42 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 34 Original-X-Trace: individual.net YGNVOFjbOE+5YGh5Flu75AFOvZ6kg6gw8/zcWa2/Mki6k/DAE= Cancel-Lock: sha1:inNFGr0a4TBkMiqE7b3Ii0DQrqI= sha1:tZpNGu4Io+ZQbyxtqzrBN0fC3YI= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Original-Xref: usenet.stanford.edu comp.emacs:100615 gnu.emacs.help:181928 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:23:29 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77286 Archived-At: * Stefan Monnier | 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'