特にプログラムを作成しなくともお手軽に出来ちゃうのでメモ。 curl --data-binary @utf8-example.xml \ -H "Content-Type: application/xml; charset=utf-8" \ http://localhost:8080/solr/update commitも忘れずに: curl --data-binary "" \ -H "Content-Type: application/xml; charset=utf-8" \ http://localhost:8080/solr/update ファイル指定の場合に、"@"付けるのに気づかなくて30分ほど嵌った。 Windows版のcURLの例: http://www.paehl.com/open_source/?CURL_7.21.6 他のWin32版: http://curl.haxx.se/download.html