SOLR-1090 -- DataImportHandler should load the data-config.xml using UTF-8 encoding

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@759337 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-03-27 20:42:49 +00:00
parent 3588581c94
commit a8db365bbc
2 changed files with 4 additions and 1 deletions

View File

@ -205,6 +205,9 @@ Bug Fixes
24.SOLR-1080: RegexTransformer should not replace if regex is not matched.
(Noble Paul via shalin)
25.SOLR-1090: DataImportHandler should load the data-config.xml using UTF-8 encoding.
(Rui Pereira, shalin)
Documentation
----------------------

View File

@ -202,7 +202,7 @@ public class SolrWriter {
}
}
return new String(baos.toByteArray());
return new String(baos.toByteArray(), "UTF-8");
}
static String getDocCount() {