[
https://issues.apache.org/jira/browse/SOLR-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781734#action_12781734
]
Yonik Seeley commented on SOLR-1595:
------------------------------------
The included test fails (w/o the rest of the patch) with the following command
line:
{code}
ant test -Dargs="-Dfile.encoding=ISO8859_1" -Dtestcase=SolrExampleStreamingTest
{code}
> StreamingUpdateSolrServer doesn't specifying UTF-8 when creating
> OutputStreamWriter
> -----------------------------------------------------------------------------------
>
> Key: SOLR-1595
> URL: https://issues.apache.org/jira/browse/SOLR-1595
> Project: Solr
> Issue Type: Bug
> Components: clients - java
> Affects Versions: 1.3, 1.4
> Reporter: Hoss Man
> Attachments: SOLR-1595.patch
>
>
> StreamingUpdateSolrServer constructs an OutputStreamWriter w/o specifying
> that it should use UTF-8 ... as a result the JVMs default encoding is used
> even though the request includes a Content-Type header of "text/xml;
> charset=utf-8" via CLientUtisl.TEXT_XML.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.