[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Encoding for a file containing filenames?
From: |
Kenichi Handa |
Subject: |
Re: Encoding for a file containing filenames? |
Date: |
Sat, 10 Nov 2007 10:10:51 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
In article <address@hidden>, Stefan Monnier <address@hidden> writes:
> > I think the important thing is to assure the round-trip of
> > decode&encode (not encode&decode).
> Are you sure? The situation is that we have a file name as an Emacs
> string (i.e. decoded say from "locale" coding system) and we need to
> store it into a file to load it back in a later Emacs invocation (at
> which point we may use it to access the file, using hopefully the same
> "locale" coding system).
> So what needs to be byte-preserving is really:
> locale-decode -> utf8-encode -> utf8-decode -> locale-encode
Ah, I misunderstood the situation, sorry. You are right.
---
Kenichi Handa
address@hidden
- Re: Encoding for a file containing filenames?, (continued)
- Re: Encoding for a file containing filenames?, Eli Zaretskii, 2007/11/09
- Re: Encoding for a file containing filenames?, Jan Djärv, 2007/11/09
- Re: Encoding for a file containing filenames?, Andreas Schwab, 2007/11/09
- Re: Encoding for a file containing filenames?, Eli Zaretskii, 2007/11/09
- Re: Encoding for a file containing filenames?, Jan Djärv, 2007/11/09
- Re: Encoding for a file containing filenames?, Kenichi Handa, 2007/11/09
- Re: Encoding for a file containing filenames?, Andreas Schwab, 2007/11/09
- Re: Encoding for a file containing filenames?, Eli Zaretskii, 2007/11/09
- Re: Encoding for a file containing filenames?, Kenichi Handa, 2007/11/09
- Re: Encoding for a file containing filenames?, Stefan Monnier, 2007/11/09
- Re: Encoding for a file containing filenames?,
Kenichi Handa <=
- Re: Encoding for a file containing filenames?, Kenichi Handa, 2007/11/08
- Re: Encoding for a file containing filenames?, Juanma Barranquero, 2007/11/08
- Re: Encoding for a file containing filenames?, Kenichi Handa, 2007/11/08