Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Modernize ntriples serializer #1245

Closed
ashleysommer opened this issue Feb 5, 2021 · 1 comment
Closed

Modernize ntriples serializer #1245

ashleysommer opened this issue Feb 5, 2021 · 1 comment

Comments

@ashleysommer
Copy link
Contributor

ashleysommer commented Feb 5, 2021

The NTriples serializer in rdflib is written in accordance with the RDF v1.0 2004 document here: https://www.w3.org/TR/2004/REC-rdf-testcases-20040210

In 2014 the NTriples v1.1 format specification was published: https://www.w3.org/TR/n-triples/

While there might have been a couple of tweaks made to the serializer since that release, it has never been fully brought into alignment with the NTriples v1.1 spec.

The one major difference to note is that v1.1 states all NTriples files are UTF-8 encoded, while our serializer forces all file outputs to be strictly ASCII encoded as-per the old 2004 spec.

@white-gecko
Copy link
Member

This should be solved in combination with #1222 . Then everything is UTF-8 and only if a developer states anything different it will be different.

@ghost ghost locked and limited conversation to collaborators Dec 25, 2021
@ghost ghost converted this issue into discussion #1580 Dec 25, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants