otis 2005/01/25 20:35:33 Modified: src/demo/org/apache/lucene/demo SearchFiles.java Log: - Read-in query string as UTF-8 Revision Changes Path 1.7 +1 -1 jakarta-lucene/src/demo/org/apache/lucene/demo/SearchFiles.java Index: SearchFiles.java =================================================================== RCS file: /home/cvs/jakarta-lucene/src/demo/org/apache/lucene/demo/SearchFiles.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- SearchFiles.java 13 Oct 2004 17:33:14 -0000 1.6 +++ SearchFiles.java 26 Jan 2005 04:35:33 -0000 1.7 @@ -101,7 +101,7 @@ if (queries != null) { in = new BufferedReader(new FileReader(queries)); } else { - in = new BufferedReader(new InputStreamReader(System.in)); + in = new BufferedReader(new InputStreamReader(System.int, "UTF-8")); } while (true) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]