[
https://issues.apache.org/jira/browse/NIFI-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18068612#comment-18068612
]
ASF subversion and git services commented on NIFI-9369:
-------------------------------------------------------
Commit ff5472456c376fadd22dadeb6e8c70e750631186 in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ff5472456c3 ]
NIFI-9369 Added a 'Retain Unicode Escape Sequences' option for
JoltTransformJSON to allow for retaining Unicode escape sequences. (#11031)
> JoltTransformJSON removes unicode escape sequence after output
> --------------------------------------------------------------
>
> Key: NIFI-9369
> URL: https://issues.apache.org/jira/browse/NIFI-9369
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Environment: Linux 64-bit, Ubuntu distro, default OS encoding is UTF-8
> Reporter: Önder Ezdi
> Assignee: Daniel Stieglitz
> Priority: Major
> Original Estimate: 2h
> Time Spent: 40m
> Remaining Estimate: 1h 20m
>
> Problem:
> If a JSON comes with unicode escape sequence, processor accepts it and after
> transformation, exports it with native characters instead unicode sequence.
> Later InvokeHTTP requests to any server breaks json due character problem and
> server won't accept if standard encoding configurations applied.
> Behavior:
> JoltTransformJSON processor input:
> {code:java}
> {"value":
> "\u011f\u00fc\u015f\u0131\u00f6\u00e7\u011e\u00dc\u015e\u0130\u00d6\u00c7"}{code}
> JoltTransformJSON processor output:
> {code:java}
> {"value": "ğüşıöçĞÜŞİÖÇ"}{code}
> Expected:
> If its not a bug, "Encode Output" or "No encoding" output options should be
> supplied as in dropdown selection or something like that on UI.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)