Before `unicode_literals`, Python 2's default `str` type handled byte sequences, not true text, often leading to `UnicodeEncodeError` or `UnicodeDecodeError` when mixing ASCII and non-ASCII characters. In contrast, Python 2's `unicode` type (and Python 3's `str`) represented abstract Unicode characters.