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: UTF-8 in path / filename Date: Fri, 25 Aug 2006 20:35:08 +0200 Message-ID: <7D07BEAB-2279-48C5-BB9A-3FF3A15D0FED@Web.DE> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1156530959 30901 80.91.229.2 (25 Aug 2006 18:35:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2006 18:35:59 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 25 20:35:55 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GGgWf-0000t0-Ui for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Aug 2006 20:35:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGgWf-00068R-Fl for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Aug 2006 14:35:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GGgWU-00066W-Mv for help-gnu-emacs@gnu.org; Fri, 25 Aug 2006 14:35:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GGgWS-00065M-Pk for help-gnu-emacs@gnu.org; Fri, 25 Aug 2006 14:35:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGgWS-00065J-Mm for help-gnu-emacs@gnu.org; Fri, 25 Aug 2006 14:35:16 -0400 Original-Received: from [217.72.192.234] (helo=fmmailgate03.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GGgem-0002n5-Jx for help-gnu-emacs@gnu.org; Fri, 25 Aug 2006 14:43:53 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 7AF0816BBCF2; Fri, 25 Aug 2006 20:35:10 +0200 (CEST) Original-Received: from [87.193.10.6] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1GGgWM-0005mi-00; Fri, 25 Aug 2006 20:35:10 +0200 In-Reply-To: X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: =?ISO-8859-1?Q?Gr=E9gory_SCHMITT?= X-Mailer: Apple Mail (2.752.2) 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:36935 Archived-At: Am 25.08.2006 um 15:42 schrieb Gr=E9gory SCHMITT: > If I set emacs to run in unibyte mode (with --unibyte on the command > line), it does work, but the file content (which is UTF-8) is =20 > parsed as > 8859-15. > This looks as if your system does not use UTF-8 ... Can you create a file with accented characters? If not, can you put a =20= copy of the file in the Gr=E9gory directory into your home or some =20 other directory and invoke emacs, with or with no unibytes, with both =20= files? In the first case the accented name would appear in the mode-=20 line of the buffer (and would see what was passed or received as =20 argument), in the latter case GNU Emacs would put the directory's =20 name in the mode-line, I hope, to distinguish the two files with the =20 same name. Again, you would see what was passed or received as =20 "Gr=E9gory" ... If the file names are or are not UTF-8, you can declare this =20 in .emacs with: (setq default-file-name-coding-system 'utf-8) (setq default-file-name-coding-system 'iso-8859-15) There are a lot more *coding-systems you can set ... -- Greetings Pete <\ \__ O __O | O\ _\\/\-% _`\<, '()-'-(_)--(_) (_)/(_)