Swirrl / tripod

ActiveModel-style Ruby ORM for RDF Linked Data. Works with SPARQL 1.1 HTTP endpoints.
MIT License
58 stars 14 forks source link

Non-ASCII character escaping in n-triples serialization #5

Closed BillSwirrl closed 11 years ago

BillSwirrl commented 11 years ago

If a string literal contains a non-ASCII character (common examples are 'curly quotes' or £ signes) then the n-triples serialization produces output which gives an error when processing by rapper.

Not sure whether this is rapper applying stricter rules about what should be in n-triples than RDF.rb does, or whether RDF.rb is escaping incorrectly.

Might be a bug in RDF.rb, or might just be rapper being super-strict with the standards

ricroberts commented 11 years ago

Could resolve this with: https://github.com/Swirrl/tripod/issues/6

ricroberts commented 11 years ago

@BillSwirrl Can you check that the recent fix to #6 resolves this correctly?