On 9/21/06 5:37 PM, "James liu" <[EMAIL PROTECTED]> wrote: > Yes,it working. the root of my problem is xml muse be encoded by utf-8. > if use php,it not about www browser. just notice that > curl header information must be utf-8. > if use post.sh,xml muse be encoded by utf-8.(my editplus default encode > style is ansi)
This might be a Solr bug. Solr should be able to accept XML in any of the required encodings (ASCII, Latin 1, UTF-8, and UTF-16). Getting XML content types exactly right is tricky, see RFC 3023. What curl command line was used? What encoding is the XML? Can you give a sample XML file? wunder -- Walter Underwood Search Guru, Netflix