force the encoding to UTF8
This commit is contained in:
parent
22be1ec323
commit
d034ddb9a7
@ -585,7 +585,7 @@ function process(path, request, response) {
|
|||||||
var urlConnection = url.openConnection();
|
var urlConnection = url.openConnection();
|
||||||
|
|
||||||
input = new Packages.java.io.BufferedReader(
|
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("/* ===== ");
|
||||||
output.write(qualifiedPath.fullPath);
|
output.write(qualifiedPath.fullPath);
|
||||||
|
Loading…
Reference in New Issue
Block a user