Answer the question
In order to leave comments, you need to log in
How to implement query string parsing in Python (Django)?
Query string:
main.php?location=%D0%E0%E7%E4%EE%F0%FB&page=04rent&way=1&filtr=1
Answer the question
In order to leave comments, you need to log in
You have a string in cp1251, there may be problems with this.
In [1]: import urllib
In [3]: print urllib.unquote('%D0%E0%E7%E4%EE%F0%FB')
������
In [4]: print urllib.unquote('%D0%E0%E7%E4%EE%F0%FB').decode('cp1251')
Раздоры
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question