Wow, that is an old issue you point to! Closed in 2021 due to a fix in 2009! Graham Higgins closed it and he's active in RDFLib dev now so perhaps he knows?
------- Original Message ------- On Monday, August 1st, 2022 at 22:23, Etienne Posthumus <eposthu...@gmail.com> wrote: > The current ntriple serialization of rdflib does not seem to do proper > unicode escaping as it should with > https://www.w3.org/TR/rdf-testcases/#ntrip_strings. > > As a test, doing: > > g = Graph() > g.add( (URIRef("urn:aap"), URIRef("urn:noot"), Literal("miës")) ) > print(g.serialize(format="nt")) > > Expected: > <urn:aap> <urn:noot> "mi\u00EBs" . > But it produces: > <urn:aap> <urn:noot> "miës" . > > There seems to be an ancient issue fixing encodings: > https://github.com/RDFLib/rdflib/issues/38 > But I could not track down how to read what patch it referred to. > > This seems like such a basic fundamental thing, hopefully I am just missing > something obvious? > > -- > http://github.com/RDFLib > --- > You received this message because you are subscribed to the Google Groups > "rdflib-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rdflib-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > [https://groups.google.com/d/msgid/rdflib-dev/15d99d10-0fab-4be3-ad17-a2c77e22bb6en%40googlegroups.com](https://groups.google.com/d/msgid/rdflib-dev/15d99d10-0fab-4be3-ad17-a2c77e22bb6en%40googlegroups.com?utm_medium=email&utm_source=footer). -- http://github.com/RDFLib --- You received this message because you are subscribed to the Google Groups "rdflib-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/BGGxhAv_9hUe11qpJ_C5RGgDw7zhd0tnAyTWYKs84GHSWR6xdX-i-Y7f1JiD9X35AfpbRQlo36vrhIqAqGrBSBhRjlY103CooBLI8SL2neo%3D%40kurrawong.net.