This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Saved textfiles have no line breaks; is there a setting to add them and make "textfiles" readable?

  • 5 respuestas
  • 1 tiene este problema
  • 1 visita
  • Última respuesta de Neilwagner1

more options

I save a lot of textfiles with Firefox and can't read them because they are saved without line breaks--just one long line of text followed by another. Even Explorer saves these file fine. There's got to be a setting I need to change. Anyone know what it is?

Firefox 12.0, Windows XP

I save a lot of textfiles with Firefox and can't read them because they are saved without line breaks--just one long line of text followed by another. Even Explorer saves these file fine. There's got to be a setting I need to change. Anyone know what it is? Firefox 12.0, Windows XP

Todas las respuestas (5)

more options

Are you saving the files as text files or as "Web page, HTML only"?

more options

I'm selecting save as textfile. What Firefox is actually doing I'm not sure. Could even be a Windows setting that's causing the readability problems. Someone told me it's because the files I'm saving are on the Web as Unix. All I know is that Explorer saves them as readable textfiles. Firefox saves them as something that looks like a bizarre spreadsheet. And this can't be a common problem or there would be threads about it.

more options

Unix line endings are only a linefeed character (%0A; \n).
Windows uses a Carriage Return (%0D; \r) and linefeed (%0A; \n) combination as line ending.
So if the text files get saved with only a linefeed then you will see a long line.

What do you get when you open such a text file in Firefox (file extension needs to be .txt)?

more options

Not sure what you're asking. I'm at a website (like ScienceDaily) while using Firefox, reading one of their articles/ press releases. The article looks perfectly normal. I save it as a textfile. Later, when trying to read the article offline, I see what you describe--long, seemingly endless lines of text. If the same file had been saved by Explorer, it would read like a normal text file.

So how do I tell Firefox to add a carriage return at the end of each line when saving a textfile? Isn't this standard behavior?

more options

You know, this has been going on so long I've forgotten what actually happens and just accepted that Firefox does not save text documents properly. I use another browser for saving textfiles.

I just tried again and Firefox saved an article as an htm file, even though the choice was "save as textfiles." So maybe the fix is somewhere in options. Beats me.