Source Code:
(back to article)
string = 'Hello, world!' print(bytes(string, encoding='utf-8'))
Result:
Report an issue