How do I download a string with line breaks?

  • 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.

    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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)