|
From: | Stefan Monnier |
Subject: | Re: Encoding for a file containing filenames? |
Date: | Thu, 08 Nov 2007 23:01:31 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
>> 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
[Prev in Thread] | Current Thread | [Next in Thread] |