mirror of https://github.com/apache/lucene.git
- 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:
parent
3c7247e2bc
commit
679e46a713
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue