gjhiggins/rdflib — Issue #155: Turtle Files with a UTF-8 BOM fail to parse
Author: gjhiggins
Created: 2011-10-19 01:32:03+00:00
State: open

Originally filed by rve...@gmail.com on 2011-01-04T13:31:16

What steps will reproduce the problem?
1. Try to parse a Turtle file which has a UTF-8 BOM at the start

What is the expected output? What do you see instead?

File should parse without issue but instead parsing fails - am reporting this issue on behalf of one of my users so haven't reproduced this myself

UTF-8 BOMs are not required but they are permitted so the parser is rejecting perfectly valid files.

This issue will likely affect all UTF-8 formats (Notation 3, TriG, SPARQL Query etc)