Solr
  1. Solr
  2. SOLR-194

SimplePostTool uses hardcoded UTF-8 encoding to read files

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: clients - java
    • Labels:
      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

      1. post.jar
        5 kB
        Bertrand Delacretaz

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Bertrand Delacretaz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development