Closed sevein closed 5 years ago
Text values (unicode in Py2 aka str in Py3) were being encoded using the ascii encoder. This was raising UnicodeEncodeError with certain values. Letting lxml handle text values seems to be a better approach.
unicode
str
ascii
UnicodeEncodeError
This connects to https://github.com/archivematica/Issues/issues/260.
Text values (
unicode
in Py2 akastr
in Py3) were being encoded using theascii
encoder. This was raisingUnicodeEncodeError
with certain values. Letting lxml handle text values seems to be a better approach.This connects to https://github.com/archivematica/Issues/issues/260.