all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Jason Rumney <jasonr@f2s.com>
Cc: Juanma Barranquero <lekktu@gmail.com>,
	Eli Zaretskii <eliz@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: Encoding for a file containing filenames?
Date: Thu, 08 Nov 2007 23:01:31 -0500	[thread overview]
Message-ID: <jwvprykm5ky.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <47339ED4.1040906@f2s.com> (Jason Rumney's message of "Thu, 08 Nov 2007 23:42:12 +0000")

>> But it will fail in Emacs-22 if the file (which contains file names)
>> contains chars that Emacs-22 doesn't know how to encode to (and decode
>> from) utf-8.
> Are there any such chars that are likely to be used in filenames? Or is it
> just the mule specific charsets that Emacs-22 cannot encode as utf-8.

It's actually a bit worse: it shouldn't just be encodable with utf-8,
but it should also be the case that encoding to utf-8 and back should
return the exact same string (since these are filenames and will be
compared with simple byte-comparison in the kernel).


        Stefan

  reply	other threads:[~2007-11-09  4:01 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-08 15:05 Encoding for a file containing filenames? Juanma Barranquero
2007-11-08 16:32 ` Stefan Monnier
2007-11-08 16:49   ` Juanma Barranquero
2007-11-08 20:50     ` Eli Zaretskii
2007-11-08 22:38       ` Stefan Monnier
2007-11-08 23:42         ` Jason Rumney
2007-11-09  4:01           ` Stefan Monnier [this message]
2007-11-09 10:03             ` Eli Zaretskii
2007-11-09 11:05               ` Jan Djärv
2007-11-09 11:07               ` Andreas Schwab
2007-11-09 11:53                 ` Eli Zaretskii
2007-11-09 12:15                   ` Jan Djärv
2007-11-09 12:16                   ` Kenichi Handa
2007-11-09 12:54                   ` Andreas Schwab
2007-11-09 14:01                     ` Eli Zaretskii
2007-11-09 10:34             ` Kenichi Handa
2007-11-09 16:25               ` Stefan Monnier
2007-11-10  1:10                 ` Kenichi Handa
2007-11-09  0:41     ` Kenichi Handa
2007-11-09  0:50       ` Juanma Barranquero
2007-11-09  1:05         ` Kenichi Handa

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=jwvprykm5ky.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@f2s.com \
    --cc=lekktu@gmail.com \
    /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.