You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Alex Savitsky (JIRA)" <ji...@apache.org> on 2019/01/08 19:07:00 UTC
[jira] [Assigned] (NIFI-5937) PutElasticsearchHttpRecord uses
system default encoding
[ https://issues.apache.org/jira/browse/NIFI-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Savitsky reassigned NIFI-5937:
-----------------------------------
Assignee: Alex Savitsky
> PutElasticsearchHttpRecord uses system default encoding
> -------------------------------------------------------
>
> Key: NIFI-5937
> URL: https://issues.apache.org/jira/browse/NIFI-5937
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.8.0
> Reporter: Alex Savitsky
> Assignee: Alex Savitsky
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> PutElasticsearchHttpRecord line 348:
> {code:java}
> json.append(out.toString());
> {code}
> This results in the conversion being done using system default encoding, possibly garbling non-ASCII characters in the output. Should use the encoding configured in the processor in the toString call.
> As a workaround, the "file.encoding" system property can be specified explicitly in the bootstrap.conf:
> {code:java}
> java.arg.7=-Dfile.encoding=UTF-8{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)