본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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.