The 1.2 specs disallow surrogate pairs in literals: https://w3c.github.io/rdf-turtle/spec/#sec-grammar
New spec tests have been added that explicitly test for parser errors: w3c/rdf-tests#330
We should make sure that we properly detect these surrogate pairs, and throw an error on them.
I would however recommend that we add a flag (disabled by default), to ignore these illegal surrogate pair errors, which allows users to restore the old (current) behaviour.
The 1.2 specs disallow surrogate pairs in literals: https://w3c.github.io/rdf-turtle/spec/#sec-grammar
New spec tests have been added that explicitly test for parser errors: w3c/rdf-tests#330
We should make sure that we properly detect these surrogate pairs, and throw an error on them.
I would however recommend that we add a flag (disabled by default), to ignore these illegal surrogate pair errors, which allows users to restore the old (current) behaviour.