3 ms·
Strings can be unicode in Python2, you start a unicode string with u". Python2 has full unicode support. While Python3 supports only unicode strings.
by flavio81 9y ago
Strings can be unicode in Python2, you start a unicode string with u".
Python2 has full unicode support. While Python3 supports only unicode strings.
- eyelidlessness 9y agoI was thinking through my response to this, and realized that I would just be repeating what I already said. Is there any reason to require extra work to support unicode strings?
- asdfgadsfgasfdg 9y agoI've come into large python2 projects which had been started with non-unicode strings (because the initial developers didn't think about it). At some point a user with non-English characters invariably signs up and then shortly complains. It has been significant work to (1) convert everything that should be converted to unicode (2) re-train the developers to use the unicode syntax.