You could write the string into a textfile and read it out with txt_load.
Then "\n" characters will not be converted to line feeds.

Edit:

TEXT* txt = { strings = 1; flags = SHOW; }

...

txt_load(txt,"paths.txt");
ent_create((txt.pstring)[0], nullvector, actEarp);



no science involved