How do I download a string with line breaks?

Get help using Construct 2

Post » Sun Mar 06, 2016 12:21 pm

Hey guys ,

I want to allow my users to download a simple text file so that they can open it in Notepad or something similar.

The text is presented in a Text object, and I use [Browser > Invoke download of string] with the Text object .Text expression.

Image

The problem is that the downloaded file have no line breaks, and all the text appears as one very long line.

Of course, the text is displayed properly on screen, with all line breaks, and no matter what I tried, every time I download the string to my computer, all line breaks are gone.

Did you heard about this problem?
Does anyone have a solution?

Thanks in advance,

Amit.
B
8
S
3
Posts: 22
Reputation: 744

Return to How do I....?

Who is online

Users browsing this forum: Matei511 and 63 guests