[
https://issues.apache.org/jira/browse/NIFI-6417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878254#comment-16878254
]
Travis Neeley commented on NIFI-6417:
-------------------------------------
I can take this one if no one else would like to. I am thinking
'allowableValues' of all 'StandardCharsets'
> JOLT processors should accept more character encodings
> ------------------------------------------------------
>
> Key: NIFI-6417
> URL: https://issues.apache.org/jira/browse/NIFI-6417
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Matt Burgess
> Priority: Major
>
> Currently JoltTransformJSON and JoltTransformRecord are hard-coded to input
> and output UTF-8 encoding. These processors should be able to at least accept
> a user-configured input encoding such as UTF-16, ISO-8859-1, etc.
> We could retain the behavior of writing out in UTF-8, but I think for
> consistency and flexibility we should add an Output Character Encoding
> property as well. Both would be defaulted to UTF-8 to maintain current
> default behavior.
> *NOTE*: There may be a limitation at present with JoltTransformRecord
> regarding String fields, where they are hard-coded to be UTF-8. If that is
> the case, then both processors should still offer the Input Character
> Encoding, but only JoltTransformJSON would have the Output Character Encoding
> property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)