aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-29 23:26:28 +0000
committerDavid Robillard <d@drobilla.net>2012-02-29 23:26:28 +0000
commit79545ea09d2d07012ab0a88fb0a7457999d97afa (patch)
tree0791473fe7232e6cd89c4d1379647a7cc3d1ee68 /tests
parent11a87df2845c4cd577786d2b4df83ab44421f546 (diff)
downloadserd-79545ea09d2d07012ab0a88fb0a7457999d97afa.tar.gz
serd-79545ea09d2d07012ab0a88fb0a7457999d97afa.tar.bz2
serd-79545ea09d2d07012ab0a88fb0a7457999d97afa.zip
Handle files and strings that start with a UTF-8 Byte Order Mark (fix #814).
git-svn-id: http://svn.drobilla.net/serd/trunk@326 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests')
-rw-r--r--tests/test-bom.out1
-rw-r--r--tests/test-bom.ttl3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-bom.out b/tests/test-bom.out
new file mode 100644
index 00000000..aea1655b
--- /dev/null
+++ b/tests/test-bom.out
@@ -0,0 +1 @@
+<http://example.org/thing> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
diff --git a/tests/test-bom.ttl b/tests/test-bom.ttl
new file mode 100644
index 00000000..8d6534e1
--- /dev/null
+++ b/tests/test-bom.ttl
@@ -0,0 +1,3 @@
+# This file starts with a UTF-8 Byte Order Mark
+
+<http://example.org/thing> a <http://example.org/Thing> . \ No newline at end of file