From 1ef87d445a277ffd039845d54c5ba30fa6f193ea Mon Sep 17 00:00:00 2001 From: Steve Majewski Date: Tue, 28 Apr 2020 16:46:38 -0400 Subject: [PATCH] https://github.com/bloomonkey/oai-harvest/issues/33 --- oaiharvest/metadata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oaiharvest/metadata.py b/oaiharvest/metadata.py index 5ccb6ad..cbfc20b 100644 --- a/oaiharvest/metadata.py +++ b/oaiharvest/metadata.py @@ -50,6 +50,7 @@ def __call__(self, metadata_element): [six.text_type( tostring(rec_element, method="xml", + encoding="unicode", pretty_print=True)) for rec_element in metadata_element])