markusthoemmes commented on a change in pull request #3119: update commons-io 
to latest (2.6)
URL: 
https://github.com/apache/incubator-openwhisk/pull/3119#discussion_r161158351
 
 

 ##########
 File path: tests/src/test/scala/common/rest/WskRest.scala
 ##########
 @@ -278,16 +270,25 @@ class WskRestAction
             ("", Base64.getEncoder.encodeToString(zip), artifactFile)
           }
           case ".js" => {
-            ("nodejs:default", FileUtils.readFileToString(new 
File(artifactFile)), artifactFile)
+            (
+              "nodejs:default",
+              FileUtils.readFileToString(new File(artifactFile), 
Charset.forName("UTF-8")),
 
 Review comment:
   Replacing all of the charset getters with `StandardCharsets.UTF_8` would be 
nice.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to