all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: UTF-8 in path / filename
Date: Fri, 25 Aug 2006 20:35:08 +0200	[thread overview]
Message-ID: <7D07BEAB-2279-48C5-BB9A-3FF3A15D0FED@Web.DE> (raw)
In-Reply-To: <pan.2006.08.25.13.42.33.289711@free.fr>


Am 25.08.2006 um 15:42 schrieb Grégory 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  
> 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  
copy of the file in the Grégory directory into your home or some  
other directory and invoke emacs, with or with no unibytes, with both  
files? In the first case the accented name would appear in the mode- 
line of the buffer (and would see what was passed or received as  
argument), in the latter case GNU Emacs would put the directory's  
name in the mode-line, I hope, to distinguish the two files with the  
same name. Again, you would see what was passed or received as  
"Grégory" ...

If the file names are or are not UTF-8, you can declare this  
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\   _\\/\-%                _`\<,
                 '()-'-(_)--(_)               (_)/(_)

  reply	other threads:[~2006-08-25 18:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-24 13:59 UTF-8 in path / filename Grégory SCHMITT
2006-08-24 14:42 ` Noah Slater
2006-08-25 12:08 ` Peter Dyballa
     [not found] ` <mailman.5606.1156507702.9609.help-gnu-emacs@gnu.org>
2006-08-25 13:42   ` Grégory SCHMITT
2006-08-25 18:35     ` Peter Dyballa [this message]
2006-08-25 22:06       ` Grégory SCHMITT
2006-08-25 22:55         ` Peter Dyballa
     [not found]         ` <mailman.5656.1156546542.9609.help-gnu-emacs@gnu.org>
2006-08-25 23:06           ` Grégory SCHMITT
2006-08-25 23:09           ` Miles Bader
2006-08-26  9:36             ` Peter Dyballa
2006-08-26 22:13               ` James Cloos
2006-08-27 13:12                 ` Peter Dyballa
2006-08-28 15:11                   ` James Cloos
2006-08-28 15:55                     ` Peter Dyballa
     [not found]               ` <mailman.5694.1156630455.9609.help-gnu-emacs@gnu.org>
2006-08-27  8:46                 ` Harald Hanche-Olsen
     [not found]           ` <mailman.5657.1156547377.9609.help-gnu-emacs@gnu.org>
2006-08-25 23:22             ` Grégory SCHMITT
2006-08-25 23:25               ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7D07BEAB-2279-48C5-BB9A-3FF3A15D0FED@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.