> On Fri, Apr 1, 2011 at 9:22 AM, Jan Høydahl <jan....@cominvent.com> wrote:
> > Testing the new Solr 3.1 release under Windows XP and Java 1.6.0_23
> >
> > When trying to post example\exampledocs\gb18030-example.xml using
> post.jar I get this error:
> > % java -jar post.jar gb18030-example.xml
> > jar gb18030-example.xml
> > SimplePostTool: version 1.3
> > SimplePostTool: POSTing files to http://localhost:8983/solr/update..
> > SimplePostTool: POSTing file gb18030-example.xml
> > SimplePostTool: FATAL: Solr returned an error #400 Unsupported encoding:
> GB18030lap
> >
> > From the stack it is caused by com.ctc.wstx.exc.WstxIOException:
> Unsupported encoding: GB18030
> >
> > The same works on my MacBook with Java1.6.0_24
> 
> Interesting - things seem fine for me on Win7 Java1.6.0_24, but I
> don't have XP around any longer to see if that's the factor somehow.

It seems that this JVM used on Windows does not support the particular
encoding. This is not Solr's fault, maybe it's some stripped down foreign
JDK like IBM's or whatever. But even Sun only guarantees some encodings to
be present in any JVM, but GB18030 is for sure very optional. As far as I
remember in early JDK days, there were extra eastern JDKs around, that had
extra charsets, maybe that’s still the case for Win XP?

Uwe


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to