Trying to convert a csv tab delimited file to a JSON where the CSV file is a UTF-16.
All the Fields are string in CSV and JSON.
Using a SplitRecord processor in NiFi. The processor runs without any error but the data values converted as JSON looks like below
"\u0000R\u0000e\u0000t\u0000a\u0000i\u0000l......."
Should I mention that this is a UTF-16 in the avro schema? If so how do I do it?
The same works well with a UTF-8 file but not with a UTF-16.
UPDATE: Not able to find the character set Property in the reader.
Using the HDF Version 3.0.1.1. Image below:
