I am trying to do a find and replace using mutate to replace | (vertical bar) with Unicode u0001 (start of header) anywhere in the source message before being further parsed.
I have tried various combinations of forward slashes and back slashes but cannot get it to replace with the string "\u0001"
The code below replaces with double backslashes "\u0001"
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.