mirror of https://github.com/apache/lucene.git
fix for Bug 30844
(supplied patch applied) git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0c188666e5
commit
1bd047313c
|
@ -100,8 +100,8 @@ InterruptedException {
|
|||
if (pipeIn == null) {
|
||||
pipeInStream = new MyPipedInputStream();
|
||||
pipeOutStream = new PipedOutputStream(pipeInStream);
|
||||
pipeIn = new InputStreamReader(pipeInStream);
|
||||
pipeOut = new OutputStreamWriter(pipeOutStream);
|
||||
pipeIn = new InputStreamReader(pipeInStream, "UTF-16BE");
|
||||
pipeOut = new OutputStreamWriter(pipeOutStream, "UTF-16BE");
|
||||
|
||||
Thread thread = new ParserThread(this);
|
||||
thread.start(); // start parsing
|
||||
|
|
|
@ -164,8 +164,8 @@ InterruptedException {
|
|||
if (pipeIn == null) {
|
||||
pipeInStream = new MyPipedInputStream();
|
||||
pipeOutStream = new PipedOutputStream(pipeInStream);
|
||||
pipeIn = new InputStreamReader(pipeInStream);
|
||||
pipeOut = new OutputStreamWriter(pipeOutStream);
|
||||
pipeIn = new InputStreamReader(pipeInStream, "UTF-16BE");
|
||||
pipeOut = new OutputStreamWriter(pipeOutStream, "UTF-16BE");
|
||||
|
||||
Thread thread = new ParserThread(this);
|
||||
thread.start(); // start parsing
|
||||
|
|
Loading…
Reference in New Issue