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