In Apache NiFi I'm trying to read a text file having encoding as UCS-2 LE BOM and then I'm trying to convert it to JSON. But Apache NiFi is considering it as a single line.
I tried converting to UTF-8 using ConvertText processor but it does not support encoding UCS-2 LE BOM.
Does anyone know how to convert this file to UTF-8 using Apache NiFi?