mirror of https://github.com/apache/lucene.git
SOLR-286 - use utf-8 encoding for getBytes()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552756 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07e9fc3556
commit
058aa7ed27
|
@ -107,6 +107,9 @@ Bug Fixes
|
||||||
|
|
||||||
3. SOLR-283: autoCommit was not working after delete. (ryan)
|
3. SOLR-283: autoCommit was not working after delete. (ryan)
|
||||||
|
|
||||||
|
4. SOLR-286: ContentStreamBase was not using default encoding for getBytes()
|
||||||
|
(Toru Matsuzawa via ryan)
|
||||||
|
|
||||||
Other Changes
|
Other Changes
|
||||||
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
|
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
|
||||||
build scripts to make two jars: apache-solr-1.3.jar and
|
build scripts to make two jars: apache-solr-1.3.jar and
|
||||||
|
|
|
@ -140,7 +140,7 @@ public abstract class ContentStreamBase implements ContentStream
|
||||||
}
|
}
|
||||||
|
|
||||||
public InputStream getStream() throws IOException {
|
public InputStream getStream() throws IOException {
|
||||||
return new ByteArrayInputStream( str.getBytes() );
|
return new ByteArrayInputStream( str.getBytes(DEFAULT_CHARSET) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue