From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kuehling Newsgroups: gmane.emacs.bugs Subject: unibyte buffers won't display latin-1 characters Date: 24 Aug 2002 22:52:25 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <873ct4ughi.fsf@snail.pool> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1030222855 9797 127.0.0.1 (24 Aug 2002 21:00:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 Aug 2002 21:00:55 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17ii1d-0002Xl-00 for ; Sat, 24 Aug 2002 23:00:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17ii2t-00059J-00; Sat, 24 Aug 2002 17:02:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17ii2Q-00057o-00 for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2002 17:01:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17ii2O-00057c-00 for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2002 17:01:42 -0400 Original-Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.10) id 17ii2O-00057I-00 for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2002 17:01:40 -0400 Original-Received: (qmail 12250 invoked by uid 0); 24 Aug 2002 21:01:37 -0000 Original-Received: from pec-160-68.tnt9.b2.uunet.de (HELO mosquito.Pool) (149.225.160.68) by mail.gmx.net (mp010-rz3) with SMTP; 24 Aug 2002 21:01:37 -0000 Original-Received: from snail (spock@snail.Pool [192.168.0.4]) by mosquito.Pool (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id WAA03699 for ; Sat, 24 Aug 2002 22:52:38 +0200 X-Authentication-Warning: mosquito.Pool: Host spock@snail.Pool [192.168.0.4] claimed to be snail Original-To: bug-gnu-emacs@gnu.org Original-Lines: 35 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3292 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3292 Hi, I'm trying to edit compressed files using auto-compression-mode, which always switches the buffer to unibyte. Unfortunately I can't get Emacs to display latin-1 characters in unibyte buffers, although the documentation states that this is possible. Here's what I did: M-x set-variable unibyte-display-via-language-environment t M-x set-language-environment Latin-1 M-x auto-compression-mode C-x C-f test.txt.gz I then tried to enter äöü, and Emacs displayed \344\366\374. Even if this is a small problem, the question remains, why gzipped files are opened as unibyte. This is extremely inconvenient. I think that also keeps me from reading japanese info files which are (in my Debian Woody system) by default gzipped. Emacs only displays them properly when I gunzip them. The hole problem also applys to crypt++. Could anybody please shade some light on that topic? David Kühling PS: please CC, I'm not subscribed.. -- GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40