Answer the question
In order to leave comments, you need to log in
How to solve encoding issue in python 3?
As I understand it, in version 3 all characters are initially in utf-8, but here's the problem, there is this code:
idsender = "111111-11111-1111-11111-11111111"
subject = 'Привет'
to = '79286666666'
url = "http://sms.ru/sms/send?api_id=%s&text=%s&to=%s" % (idsender, subject, to)
res = urlopen(url)
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