[
https://issues.apache.org/jira/browse/ANY23-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Ansell resolved ANY23-99.
-------------------------------
Resolution: Won't Fix
NQuads module removed, RDF4J uses RDF-1.1 NQuads that requires UTF-8
> NQuadsWriter should force ASCII in OutputStream constructor
> -----------------------------------------------------------
>
> Key: ANY23-99
> URL: https://issues.apache.org/jira/browse/ANY23-99
> Project: Apache Any23
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8.0
> Reporter: Peter Ansell
> Fix For: 1.3
>
>
> 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")) );
> [1] http://sw.deri.org/2008/07/n-quads/#mediatype
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)