PHP » PYTHON |
login |
register |
about
|
PYTHON rawurldecode
is this article helpful?
|
Python replacement for PHP's rawurldecode
[
edit
| history
]
#2.x import urllib result = urllib.unquote(myStr) #3.x import urllib.parse result = urllib.parse.unquote(myStr) rawurldecode(PHP 4, PHP 5) rawurldecode — Decode URL-encoded strings Description
string rawurldecode
( string $str
)
Returns a string in which the sequences with percent (%) signs followed by two hex digits have been replaced with literal characters. Parameters
Return ValuesReturns the decoded URL, as a string. Examples
Example #1 rawurldecode() example
<?php
Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|