What is happening is that the things like "\n" in your string are being encoded to "\\n", since the "\" character is itself encoded when it is being stored. The notes code now (whatever Tom Ross started it as) presumes that the input string needs to be encoded (i.e., have special characters escaped) before being stored - that the escapes aren't already present.
However, I have now modified 3dNotes.c to elide escaping the "\" character on input. This will preserve the escapes when the notes are expanded for display in 3dNotes or 3dinfo.
These changes will be posted sometime later today, I sincerely hope.
bob