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

SimplePostTool uses hardcoded UTF-8 encoding to read files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • clients - java
    • None

    Description

      Using

      java -Dfile.encoding=iso-8859-1 -jar post.jar http://localhost:8983/solr/update utf8-example.xml

      posts incorrect data, apparently utf8-example.xml is read using the JVM's encoding.

      As a workaround before we fix this, use

      java -Dfile.encoding=UTF-8 -jar post.jar http://localhost:8983/solr/update utf8-example.xml

      Attachments

        1. post.jar
          5 kB
          Bertrand Delacretaz

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: