From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: umlauts (8bit characters) input Date: Tue, 1 Feb 2005 11:31:47 +0100 Message-ID: <799DF208-743C-11D9-8B7E-000D932A32C4@Web.DE> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1107256097 14523 80.91.229.2 (1 Feb 2005 11:08:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 11:08:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 01 12:08:16 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cvvt6-0001LD-GF for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Feb 2005 12:08:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cvw60-0006ex-Is for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Feb 2005 06:21:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CvvWw-0004L1-2T for help-gnu-emacs@gnu.org; Tue, 01 Feb 2005 05:45:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CvvWr-0004Jm-JP for help-gnu-emacs@gnu.org; Tue, 01 Feb 2005 05:45:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvvWq-0004JE-Di for help-gnu-emacs@gnu.org; Tue, 01 Feb 2005 05:45:04 -0500 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CvvK4-0006Kn-Ft for help-gnu-emacs@gnu.org; Tue, 01 Feb 2005 05:31:53 -0500 Original-Received: from [80.184.165.82] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.103 #192) id 1CvvK3-0000mR-00; Tue, 01 Feb 2005 11:31:51 +0100 In-Reply-To: Original-To: Hendrik Sattler X-Mailer: Apple Mail (2.619) X-Sender: Peter_Dyballa@web.de 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:23803 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23803 Am 01.02.2005 um 01:41 schrieb Hendrik Sattler: > Peter Dyballa wrote: >> ; (set-language-environment 'UTF-8) >> (set-default-coding-systems 'utf-8) >> (setq file-name-coding-system 'utf-8) >> (setq default-buffer-file-coding-system 'utf-8) >> (setq coding-system-for-write 'utf-8) >> ; (set-keyboard-coding-system 'utf-8) >> (set-terminal-coding-system 'utf-8) >> ;; (set-clipboard-coding-system 'utf-8) >> ;; (set-selection-coding-system 'utf-8) >> ; (set-language-environment 'German) > > I don't understand why emacs should need all that. There are locales=20= > and > they define a system charset, emacs should use that as default. These setting show how complicated it is to translate between the many=20= systems GNU Emacs supports. It's not only Latin scripts! Have a look at=20= the HELLO page: C-h H. And particularly two settings can become import=20= when you're interacting with a window system: clipboard-coding-system=20 and selection-coding-system. There is in the Help menu a very excessive=20= entry: Describe -> Show all of Mule Status. Or simply M-x mule-diag.=20 It'll give you pointers to stay for a few weeks in info-mode ... > >> It's always helpful to check what Emacs actually receives: C-h k and=20= >> then >> you type the umlaut. > > It gets M-| for the '=FC', '|' is 0x7C and '=FC' ist 0xFC, so the 8th = bit=20 > is > ignored. > Does emacs care for readline settings? I don't think so. readline would be used in shell-mode or eshell-mode,=20= if at all. Are you running Emacs freely as an X11 client or is it=20 no-windows inside a terminal emulation? In the second case you're a bit=20= dependant of what the terminal emulation is doing. It might convert=20 8bit to 7bit. In both cases you have to set an appropriate=20 input-method, as mule-diag will reveal. Do you have test files =E0 la 'char-representation =3D oct dec hex its=20= description (to help you recognize what Emacs is doing to that glyph)',=20= for example "=FC =3D 374 =3D 252 =3D FC =3D U+00FC : LATIN SMALL LETTER = U WITH=20 DIAERESIS"? In any case it would be very helpful (for Emacs) to give a=20= hint like "-*- mode: Text; coding: iso-8859-15; -*-" in the file's=20 header to help it choose the right character set. I do hope that others on this list have made more progress than both of=20= us and add some to this thread! For example I would like to have shell=20= and dired-buffers display in UTF-8 because the file names in Mac OS X=20 are of that kind. In shell it works with ls when I let Emacs run in=20 Apple's Terminal (emulation). I hope that GNU Emacs 25 solves all problems. > I really want to get that guy that said that ASCII and thus 7bit is a=20= > useful > default :-((((( Oh no, why has the world to be so stubborn and keep writing in so my=20 scripts? Why is a comic's use of script not sufficient? -- Mit friedvollen Gr=FC=DFen Pete <\ _\ O _ |o \ _\\_/-\=3D' _____________(_)|-(_) (_)___________________________________