Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 5 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от 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

Всички отговори (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.