Re: Encoding

In the following code:

char *uri = "file:///C:\\Program%20Files\\...\\....";
...

anchor = HTAnchor_findAddress(uri);

status = HTLoadAnchor(anchor, request);    // exit immediatly here !!!

Please help !

----- Original Message -----
From: <jose.kahan@w3.org>
To: "Fiordean Dacian" <dfiordean@smartsoft.ro>
Cc: <www-lib@w3.org>
Sent: Monday, March 26, 2001 6:06 PM
Subject: Re: Encoding


> In our previous episode, Fiordean Dacian said:
> > if I got the following URI:
> >
> > file://C:\Program Files\...\...
> >
> > How it's possible for me to tell libwww not to parse the space char
between Progran and Files.
>
> At last, an easy question :)
>
> Code the spaces as %20, as given in the URL spec.
>
> Also, you can leave the slashes as / if you want. libwww converts them to
> the local system equivalent.
>
> -jose

Received on Monday, 26 March 2001 11:36:13 UTC