[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] String:escapeSpaces
On 29 Nov 2006, at 16:10, Stefan Kersten wrote:
Julian Rohrhuber wrote:
and then stick it in in the various String methods which deal
shouldn't this happen in String:standardizePath ?
no, because spaces need only be escaped when the path is merged into a
File("/Users/sk/Foo Bar", "r")
File("/Users/sk/Foo\\ Bar", "r")
do not do the same thing ...
Sorry if I'm being dense, but don't you have one more slash than you
File("/tmp/Foo Bar", "w") and File("/tmp/Foo\ Bar", "w") do do the
But actually what the method should do is check to make sure that the
space is not already escaped.