Python Online Compiler & Playground
HTML/CSS/JavaScript
HTML
CSS
Javascript
C++
C
PHP
Java
Python
Swift
C#
Ruby
Node.JS
Kotlin
jQuery
Go
R
TypeScript
Start Python Course
Register
utf-16 (reconfigure)
+6
Author: Flandre Scarlet
Dark
Public
Save
PY
py
1
2
3
4
5
6
import
sys
sys.stdout.reconfigure
(
encoding=
"utf16"
)
sys.stderr.reconfigure
(
encoding=
"utf16"
)
print
(
"嗨"
)
print
(
嗨
)
Enter to Rename, Shift+Enter to Preview
OUTPUT