Excuse me, but you could tell me how I can use UTF-8 in a Python program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Excuse me, but you could tell me how I can use UTF-8 in a Python program?

UFT-8

19th Sep 2019, 4:10 PM
Francesco Manuel Ursini
Francesco Manuel Ursini - avatar
3 Answers
+ 1
What's 'boh'?
19th Sep 2019, 7:09 PM
HonFu
HonFu - avatar
0
from sys import stdout stdout.reconfigure(encoding="utf-8")
19th Sep 2019, 5:03 PM
Eliya Ben Baruch
Eliya Ben Baruch - avatar
0
Excuse me but I tried to use it to put an accented letter, since I'm Italian in my Python program on Sololearn, but it didn't work, how should I do?
20th Sep 2019, 12:52 PM
Francesco Manuel Ursini
Francesco Manuel Ursini - avatar