I have used you first workaround and this works for me. What would be the
best way of building the
SimplePostTool.java<https://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/util/SimplePostTool.java>
?

On 21/03/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:

On 3/21/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:

> ...For now, using this as a workaround should help:
>
> java -Dfile.encoding=UTF-8 -jar post.jar
> http://localhost:8983/solr/update utf8-example.xml..

Should be fixed now, if you can grab the latest SimplePostToolCode [1]
it should work irrelevant of the default JVM encoding. Please confirm
if you test it.

It's a kind of brute force fix, I have hardcoded the encoding as
UTF-8, I'm keeping SOLR-194 open so that we don't forget to fix this
(but considering SOLR-190 it's not urgent to fix).

-Bertrand

[1]
https://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/util/SimplePostTool.java

Reply via email to