Source Code:
(back to article)
# Original Unicode string unicode_string = "Hello, 世界!" # Convert to string with extra symbols extra_symbols_string = unicode_string.encode("utf-8") print(extra_symbols_string)
Result:
Report an issue