Answer the question
In order to leave comments, you need to log in
How to convert text from ASCII to UTF-8?
Good evening!
Guys, I try to recode to UTF-8, nothing comes out.
Here is the code:
page = 1
searching = 'ruby'
url = f'https://search.buzz.im/api/v1/search/messages_simple?query_text=' \
f'{searching}&query_size=100&query_from={page}'
r = requests.get(url)
print(r.text.encode().decode("utf-8", "ignore"))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question