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 :(
我想在我的C程序中使用URL编码器。我想知道是否有任何免费的URL编码功能在C(在网络上)实现???我试过搜索它,但无法得到一个:(
2 个解决方案
#1
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.
我发现URL的标准并不那么难。在大多数情况下,您甚至可以限制自己使用HTTP URL。创建自己的urlencoder非常简单。
#2
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.
如果您正在使用C进行任何认真的开发,那么您应该考虑使用Apache的Apache Portable Runtime和APR Utilities库。
#1
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.
我发现URL的标准并不那么难。在大多数情况下,您甚至可以限制自己使用HTTP URL。创建自己的urlencoder非常简单。
#2
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.
如果您正在使用C进行任何认真的开发,那么您应该考虑使用Apache的Apache Portable Runtime和APR Utilities库。