Top hire coders Secrets
In Python two, mixing Unicode and eight-little bit information would perform if the string happened to comprise only 7-bit (ASCII) bytes, but you would get UnicodeDecodeError if it contained non-ASCII values. Also, the exception would take place at the combination point, not at the point at which the non-ASCII figures ended up set into your str obj