Index: HTMLParser.jj =================================================================== RCS file: /home/cvspublic/jakarta-lucene/src/demo/org/apache/lucene/demo/html/HTMLParser.jj,v retrieving revision 1.8 diff -u -r1.8 HTMLParser.jj --- HTMLParser.jj 6 Aug 2004 19:26:16 -0000 1.8 +++ HTMLParser.jj 25 Aug 2004 12:49:46 -0000 @@ -164,8 +164,8 @@ 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