https://bugs.linuxfoundation.org/show_bug.cgi?id=1303

--- Comment #4 from Gary O'Neall <[email protected]> 2015-08-11 23:10:16 
UTC ---
Correct on not being able to determine the encoding (at least I don't know how
to easily do this).

The SPDX spec requires UTF-8, but we can't be sure this is followed.

There are two approaches I was going to look into:
- When running tag to RDF, pre-scan the using the same method Jena uses to
fail.  Print out a warning and change the character to something Jena can
consume.

- Find out why the encoding got off.  This was originally an RDF file which was
converted to tag.  It failed converting the tag back to RDF.  The encoding is
specified as UTF-8 in both cases (the input and output).

I tried specifying the encoding for the readers and writer (recently committed
- be sure to pull the latest), but it still failed.  

I'll attach the original RDF file.

-- 
Configure bugmail: https://bugs.linuxfoundation.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to