Source Code:
(back to article)
text = u"Hello, world!" print(text.encode('ascii'))
Result:
Report an issue