ChrisSamo632 commented on a change in pull request #5193:
URL: https://github.com/apache/nifi/pull/5193#discussion_r677730099



##########
File path: 
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-restapi-processors/src/main/java/org/apache/nifi/processors/elasticsearch/ElasticsearchRestProcessor.java
##########
@@ -116,7 +117,7 @@ default String getQuery(FlowFile input, ProcessContext 
context, ProcessSession s
             session.exportTo(input, out);
             out.close();
 
-            retVal = out.toString();
+            retVal = out.toString(StandardCharsets.UTF_8);

Review comment:
       Rings a bell from when I changed this originally actually... forgot to 
change the module settings in IntelliJ to check for JDK 8 compatability, d'oh.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to