Merge pull request #1745 from OpenRefine/issue/1717

force the encoding to UTF8
This commit is contained in:
Antonin Delpeuch 2018-09-25 17:22:46 +01:00 committed by GitHub
commit 2cc02e9cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -585,7 +585,7 @@ function process(path, request, response) {
var urlConnection = url.openConnection();
input = new Packages.java.io.BufferedReader(
new Packages.java.io.InputStreamReader(urlConnection.getInputStream()));
new Packages.java.io.InputStreamReader(urlConnection.getInputStream(), "UTF8"));
output.write("/* ===== ");
output.write(qualifiedPath.fullPath);