[ 
https://issues.apache.org/jira/browse/NIFI-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-9369:
-----------------------------------
    Fix Version/s:     (was: 1.16.0)

> 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
>            Priority: Major
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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.1#820001)

Reply via email to