New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF-8 support fix for RDFa files #111

Merged
merged 1 commit into from Sep 10, 2014

Conversation

Projects
None yet
2 participants
@Dataliberate
Contributor

Dataliberate commented Aug 29, 2014

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.

Dataliberate
UTF-8 support fix for RDFa files
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

read_schemas adjusted to send file list instead of list of strings to
parser.

danbri added a commit that referenced this pull request Sep 10, 2014

Merge pull request #111 from Dataliberate/master
UTF-8 support fix for RDFa files

@danbri danbri merged commit 6592183 into schemaorg:master Sep 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment