Description
The NQuads specification states that all NQuads documents must be ASCII encoded. [1] The current NQuadsWriter(OutputStream) constructor does not enforce this when creating the OutputStreamWriter to wrap up the given outputstream. If it is not enforced, then the users locale will be used to create the OutputStreamWriter, which may not enforce US-ASCII.
Patch is to replace the constructor with:
this( new OutputStreamWriter(os, Charset.forName("US-ASCII")) );
Attachments
Issue Links
- is blocked by
-
ANY23-141 Upgrade OpenRDF Sesame to 2.7.0
- Closed