擅长:python、mysql、java
<p>查看urllib模块<a href="http://docs.python.org/2/library/urllib.html#urllib.quote" rel="nofollow">http://docs.python.org/2/library/urllib.html#urllib.quote</a>中的引号函数</p>
<pre><code>>>> import urllib
>>> u = u'€€€'
>>> s = u.encode('utf-8')
>>> print urllib.quote(s)
%E2%82%AC%E2%82%AC%E2%82%AC
</code></pre>