- Read-in query string as UTF-8

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150738 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2005-01-26 04:35:33 +00:00
parent 3c7247e2bc
commit 679e46a713
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class SearchFiles {
if (queries != null) { if (queries != null) {
in = new BufferedReader(new FileReader(queries)); in = new BufferedReader(new FileReader(queries));
} else { } else {
in = new BufferedReader(new InputStreamReader(System.in)); in = new BufferedReader(new InputStreamReader(System.int, "UTF-8"));
} }
while (true) { while (true) {