lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-194) SimplePostTool incorrectly uses the current JVM encoding to read files
Date Wed, 21 Mar 2007 09:24:32 GMT
SimplePostTool incorrectly uses the current JVM encoding to read files
----------------------------------------------------------------------

                 Key: SOLR-194
                 URL: https://issues.apache.org/jira/browse/SOLR-194
             Project: Solr
          Issue Type: Bug
          Components: clients - java
            Reporter: Bertrand Delacretaz
            Priority: Minor


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


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message