From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: emacs and UTF-8 Date: Thu, 28 Apr 2005 22:05:16 +0200 Message-ID: References: <1114710292.436403.218420@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114718507 6326 80.91.229.2 (28 Apr 2005 20:01:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2005 20:01:47 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 22:01:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DRFBS-0001sP-V7 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Apr 2005 22:00:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRFHe-0004Cs-CR for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Apr 2005 16:06:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DRFHT-0004Ci-7x for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 16:06:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DRFHS-0004CP-Kt for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 16:06:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRFHS-0002lo-IA for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 16:06:38 -0400 Original-Received: from [217.72.192.224] (helo=smtp06.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DRFKG-0000ZX-Mh for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 16:09:33 -0400 Original-Received: from [84.245.189.121] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #282) id 1DRFG6-0007Yz-00; Thu, 28 Apr 2005 22:05:14 +0200 In-Reply-To: <1114710292.436403.218420@z14g2000cwz.googlegroups.com> Original-To: "knubee" X-Mailer: Apple Mail (2.622) 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 Xref: news.gmane.org gmane.emacs.help:26116 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26116 Am 28.04.2005 um 19:44 schrieb knubee: > I'm running Emacs 21.3 under Debian, and below are some settings from > .emacs file. > > (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) In case debian uses UTF-8 too for file names: keep that entry! All others can go to /dev/null, *if* you set environment variables similiar to these: LANG=de_DE.UTF-8 LC_CTYPE=de_DE.UTF-8 GNU Emacs learns from these settings a lot. If something fails, then it could be you need (set-language-environment 'UTF-8) too. -- Greetings Pete A child of five could understand this! Fetch me a child of five.