[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DEP 5 and directory/file names with spaces



First, as I've said elsewhere, this thread is just about the most
impressive bikeshedding session I've ever seen.  So I'll try and stick
to a single post, and I'm only posting because I don't think I've seen
mention of the following problem:

[Gunnar Wolf]
> Yup - But the newline is also a valid (altough, yes, very uncommon)
> part of a filename.

So are non-UTF-8 byte sequences, and I suspect those are a great deal
more common in filenames than newlines.  If you want your copyright
file to be UTF-8, you have to escape those byte sequences somehow.

I propose something very simple: ? to escape any single byte that seems
problematic in any way.  Spaces, tabs, newlines, the ISO-8859-1
registered trademark symbol, etc., etc.  I mean, we don't need this
transform to be reversible, do we?
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/


Reply to: