Error Code Portal
PythonPythonError code

UnicodeError

UnicodeError

Code UnicodeError · An issue reported by Python.

Raised when a Unicode-related encoding or decoding error occurs. It is a subclass of ValueError. UnicodeError has attributes that describe the encoding or decoding error. For example, err.object[err.start:err.end] gives the particular invalid input that the codec failed on.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.