0

Can someone please help me with this one? Character issues

I just started learning coding and choose Python as my programming language. But I am having troubles with some characters, like "é", "ã", and some others. I tried to use the UTF stuff and all, but it still doesn't work properly. What am I missing here? Thanks https://code.sololearn.com/czda44oOnsYD/?ref=app

22nd Dec 2018, 1:44 AM
Pedro Boscardin
4 Respostas
+ 2
To enable UTF-16, add this at the beginning of your code: import sys, codecs sys.stdout = codecs.getwriter('utf_16')(sys.stdout.buffer, 'strict')
22nd Dec 2018, 2:10 AM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
You're so welcome Pedro Boscardin! Happy coding! 😊
22nd Dec 2018, 2:04 PM
Kishalaya Saha
Kishalaya Saha - avatar
0
By the way, I use the SoloLearn's Code Playground
22nd Dec 2018, 1:46 AM
Pedro Boscardin
0
Kishalaya Saha thank you so much!!! I didn't know about this command
22nd Dec 2018, 1:23 PM
Pedro Boscardin