On 3/10/07, Morten Fangel <[EMAIL PROTECTED]> wrote:

...I send a document like the following:

---
<?xml version="1.0" encoding="UTF-8"?>...

I assume you're using your own code to "send" the document?

Currently you need to include a "Content-type: text/xml;
charset=UTF-8" header in your HTTP POST request, and (as you're doing)
the XML needs to be encoded in UTF-8.

See the source code of
src/java/org/apache/solr/util/SimplePostTool.java for example.

-Bertrand

Reply via email to