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:
Christoph Goller 2004-09-02 13:07:12 +00:00
parent 0c188666e5
commit 1bd047313c
2 changed files with 4 additions and 4 deletions

View File

@ -100,8 +100,8 @@ InterruptedException {
if (pipeIn == null) { if (pipeIn == null) {
pipeInStream = new MyPipedInputStream(); pipeInStream = new MyPipedInputStream();
pipeOutStream = new PipedOutputStream(pipeInStream); pipeOutStream = new PipedOutputStream(pipeInStream);
pipeIn = new InputStreamReader(pipeInStream); pipeIn = new InputStreamReader(pipeInStream, "UTF-16BE");
pipeOut = new OutputStreamWriter(pipeOutStream); pipeOut = new OutputStreamWriter(pipeOutStream, "UTF-16BE");
Thread thread = new ParserThread(this); Thread thread = new ParserThread(this);
thread.start(); // start parsing thread.start(); // start parsing

View File

@ -164,8 +164,8 @@ InterruptedException {
if (pipeIn == null) { if (pipeIn == null) {
pipeInStream = new MyPipedInputStream(); pipeInStream = new MyPipedInputStream();
pipeOutStream = new PipedOutputStream(pipeInStream); pipeOutStream = new PipedOutputStream(pipeInStream);
pipeIn = new InputStreamReader(pipeInStream); pipeIn = new InputStreamReader(pipeInStream, "UTF-16BE");
pipeOut = new OutputStreamWriter(pipeOutStream); pipeOut = new OutputStreamWriter(pipeOutStream, "UTF-16BE");
Thread thread = new ParserThread(this); Thread thread = new ParserThread(this);
thread.start(); // start parsing thread.start(); // start parsing