encode search url using C
- From: Rudra Banerjee <bnrj rudra yahoo com>
- To: libsoup-list gnome org
- Subject: encode search url using C
- Date: Thu, 11 Oct 2012 22:46:26 +0100
Hello,
I am just a layman in libsoup.
Can you people kindly show me how to encode a url search string using
libsoup?
What I meant is something like this:
$ python
Python 2.7.3 (default, Jul 24 2012, 10:05:38)
[GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from urllib import urlencode
>>> myDict={
... "Name":"Albert Einstein",
... "Year":"1905"
... }
>>> s=urlencode(myDict)
>>> print s
Name=Albert+Einstein&Year=1905
I want to achieve the same effect in C.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]