I have a script that copies table cells from the browser into the user's clipboard. I loop through each cell and when a new line is needed I use
text += "\n";
If I paste the text into excel, it formats correctly and fills in the proper rows, however if I paste into notepad, it shows a symbol instead of creating a new line:
123□456□789
instead of:
123
456
789
Is there something else I can use that notepad will recognize as a line break?