Many problems I’ve ran into in Python have been related to not having something in Unicode. Is there any good reason to not use Unicode by default? I understand needing to translate something in ASCII, but it seems to be the exception and not the rule.
I know Python 3 uses Unicode for all strings. Should this encourage me as a developer to unicode() all my strings?
Generally, I’m going to say “no” there’s not a good reason to use
stringoverunicode. Remember, as well, that you don’t have to callunicode()to create a unicode string, you can do so by prefixing the string with a lowercase u likeu"this is a unicode string".