[Sugar-devel] [PATCH] Add ds2xos conversion script to export
C. Scott Ananian
cscott at laptop.org
Mon Jun 28 00:00:34 EDT 2010
On Sun, Jun 27, 2010 at 9:53 PM, Michael Stone <michael at laptop.org> wrote:
> El Sat, 26-06-2010 a las 23:07 -0400, Michael Stone escribió:
>
>>> * whose name is URL-encoded with spaces encoded as pluses
>>
>> Why pluses?
>
> Because they're nicer than %20 and python provides urllib.quote_plus?
>
>> Can't we simply leave spaces as spaces?
>
> Have you got a shell that doesn't require me to escape them in order to process
> the resulting files?
>
>> Or convert them to '_' and use '~' or ';' as a version separator?
>
> Thanks; I prefer characters which don't need to be shell-escaped.
FWIW:
shell will only expand ~ in first position; a~b is fine.
using ; as a version separator has a long and distinguished history
(http://en.wikipedia.org/wiki/Files-11)
anyone who hasn't figured out how to use -0 options to grep, xargs,
find, etc in order to properly handle spaces is living in the past
filenames in spanish will look terrible with %-escapes for áéíñóú
anyway, and utf-8 is not reliable on FAT (sigh). if you can get
people to format their USB sticks with NTFS, whose kernel support is
pretty good, you can use utf-16 and a much smallest set of "bad"
codepoints.
--scott
--
( http://cscott.net/ )
More information about the Sugar-devel
mailing list