views:

155

answers:

4

I want to use URL encoder for my C program. I am wondering if there is any freely available URL encoding function implemented in C (on the web)??? I tried searching it, but couldn't get one :(

A: 

If GPL licensed is free enough for you, take a alook at the privoxy project implementation of url encoding/decoding in encoder.c

Haes
A: 

qEncode.c might work for you. Its a part of qDecorder library.

Download qDecoder library

Green Techy
A: 

I find the standard for URL's isn't that hard. You can even limit yourself to HTTP URL's in most cases. It's pretty straight-forward to create your own urlencoder.

Stijn Sanders
A: 

If you are doing any serious development in C, you should really look into using the Apache Portable Runtime and APR Utilities libraries from Apache.

D.Shawley