Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1595

StreamingUpdateSolrServer doesn't specifying UTF-8 when creating OutputStreamWriter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3, 1.4
    • 1.4.1, 1.5, 3.1, 4.0-ALPHA
    • clients - java
    • None

    Description

      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.

      Attachments

        1. SOLR-1595.patch
          2 kB
          Yonik Seeley

        Activity

          People

            Unassigned Unassigned
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: