The Python Oracle

Will a UNICODE string just containing ASCII characters always be equal to the ASCII string?

This video explains
Will a UNICODE string just containing ASCII characters always be equal to the ASCII string?

--

Become part of the top 3% of the developers by applying to Toptal
https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle3

--

Chapters
00:00 Question
00:35 Accepted answer (Score 14)
01:22 Thank you

--

Full question
https://stackoverflow.com/questions/2862...

Question links:
[this question]: https://stackoverflow.com/questions/2161...

Accepted answer links:
[sys.setdefaultencoding()]: https://docs.python.org/2/library/sys.ht...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #python27 #unicode #characterencoding #pythonunicode

#avk47