Construct a URI from a filename.
Source position: uriparser.pp line 52
function FilenameToURI( |
const Filename: string; |
Encode: Boolean = True |
):string; |
Filename |
|
Filename to construct URI from. |
Encode |
|
True if invalid Path characters in FileName are encoded (escaped) in the URI. |
file: protocol URI.
FilenameToURI takes Filename and constructs a file: protocol URI from it.
None.
|
Convert a URI to a filename. |