UTF-8 support fix for RDFa files #111
+21
−12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error when reading non-ascii characters from .rdfa files.
Fix:
parsers.py
RDFa files list passed directly to RDFAParser.
Change from using ET.fromString() which expects ascii, to an ET.parse which is passed an UTF8 parser
api.py
read_schemas adjusted to send file list instead of list of strings to parser.