[Lazarus] Opening a file with spaces in the filename (again)
Reinier Olislagers
reinierolislagers at gmail.com
Tue Mar 5 19:28:33 CET 2013
On 5-3-2013 18:49, Bart wrote:
> On 3/5/13, John <jszcmpr at netspace.net.au> wrote:
>
>> I want to open a tiff file using what ever viewer the PC knows about
>> that can do it (it will be irfanview on the test PC). It seemed that
>> "OpenDocument" is the appropriate method. This works fine so long as
>> the path has no spaces, but OpenDocument calls OpenURL, and that
>> converts the spaces to %20 s
<snip>
> @Reinier: this part of the reverting has nothing to do with Win9x
> compatibility, it would fail on Win7 as well.
Haven't followed whatever was reverted when...
> The Win9x discussion was about quoting the file:// URI scheme.
> But on Windows you should probably not use this, because Windows does
> not have a default handler for file:// URI scheme and simply looks at
> the extension.
Having a working OpenDocument or documented behaviour would be nice.
Perhaps you have a good idea for a patch?
More information about the Lazarus
mailing list