Igor, I believe it will encode whatever you give it in UTF-8 and place those bytes in. For absolute control over the content of the demarcator that gets injected between each merged thing use the delimiter strategy of 'filename' and point at a file containing precisely the bytes you want.
Thanks Joe On Thu, May 12, 2016 at 3:49 PM, Igor Kravzov <igork.ine...@gmail.com> wrote: > Joe, If I put \n or '\n' the processor adds at as a string. How do i add it > as ASCII? > > On Thu, May 12, 2016 at 2:43 PM, Joe Witt <joe.w...@gmail.com> wrote: >> >> Igor, >> >> MergeContent [1] has a property for this purpose called "Demarcator" >> and you can set the "Delimiter Strategy" to "text" and put a value for >> the demarcator of \n. >> >> That should get you there I think. >> >> [1] >> https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.MergeContent/index.html >> >> Thanks >> Joe >> >> On Thu, May 12, 2016 at 2:40 PM, Igor Kravzov <igork.ine...@gmail.com> >> wrote: >> > I have workflow where EvaluateJson PR used to extract some values, >> > ReplaceText PR used to create a comma delimited line. Now I want to >> > create a >> > CSV file from these lines Currently using MeregeContent PR but it >> > concatenates result lines incited of placing each on a new line. Should >> > I >> > just create a demarcatorfile with new line in it? Or there are other >> > options? >> > >> > Thanks in advance. > >