lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: schema browing character encoding
Date Tue, 25 Aug 2009 03:39:59 GMT
smock wrote:
> Hello,
>
> I'm trying to use the schema browser (/file/?file=schema.xml) to examine the
> schema of my solr installation, but am having problems with character
> encodings.  Everything I have is defined in UTF-8, and I can read the file
> locally with that encoding without any problems.  However, in the
> webbrowser, my utf-8 characters seem to get mangled and the file is no
> longer parseable as utf-8 (it is parseable as latin-1).  Any suggestions as
> to what I'm doing wrong would be greatly appreciated.
>
> -Harish
>   

Please use contentType parameter:

http://localhost:8983/solr/admin/file/?file=schema.xml&contentType=text/xml;charset=utf-8

Koji



Mime
View raw message