Skip to content
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

Online OWL version of schema.org has incorrect char encoding for some characters #2025

Closed
nicholascar opened this issue Aug 1, 2018 · 4 comments
Assignees
Labels
Fixed Awaiting Release Fixed in main branch / posted to webschemas.org site / proposed for inclusion in next release

Comments

@nicholascar
Copy link

The OWL file for schema.org, https://schema.org/docs/schemaorg.owl, has the following characters that prevent RDF parsing:


è



西遊記
Tây du ký bình khảo
物种起源

@RichardWallis RichardWallis self-assigned this Aug 1, 2018
@RichardWallis RichardWallis added type:bug A mistake or malfunction whose remedy should be straightforward technical work and removed type:bug A mistake or malfunction whose remedy should be straightforward technical work labels Aug 1, 2018
@RichardWallis
Copy link
Contributor

I have noted that the encoding value in the file is "utf8" and probably should be "UTF-8"

Nevertheless the file seems to load OK in to Protégé where these characters display OK;

image

Is it a particular parser you are having problems with?

@nicholascar
Copy link
Author

Yes, I think it's that it's "utf8" not "UTF-8". It was using Python's rdflib for RDF parsing where it failed. Presumably rdflib can't assume "utf8" is "UTF-8" where as Protege can?

@RichardWallis RichardWallis added the Fixed Awaiting Release Fixed in main branch / posted to webschemas.org site / proposed for inclusion in next release label Dec 16, 2019
vholland added a commit to vholland/schemaorg that referenced this issue Dec 17, 2019
Fixed issue (schemaorg#2025) set xml encodng to UTF-8 in schemaorg.owl file
@RichardWallis
Copy link
Contributor

Fixed

@nicholascar
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed Awaiting Release Fixed in main branch / posted to webschemas.org site / proposed for inclusion in next release
Projects
None yet
Development

No branches or pull requests

2 participants