goodmorning
goodmorning

Reputation: 11

How to encode URL in C language?

I know in Javascript we can use encodeURI(), decodeURI() founded in this page.
Encoding Decoding URL

I was curious about C language, because I'm planing to use it in next project.

Is there a function to encode URL in C language?

Upvotes: 0

Views: 381

Answers (1)

shauryachats
shauryachats

Reputation: 10385

If you can use the libcurl library, consider using curl_easy_escape().

char *curl_easy_escape( CURL * curl , char * string , int length );

Upvotes: 2

Related Questions