Closed Bug 96490 Opened 23 years ago Closed 23 years ago

Text files saved as garbage

Categories

(Core Graveyard :: File Handling, defect)

defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 121001

People

(Reporter: msmith7, Assigned: law)

Details

(Keywords: regression)

If you save a text file in 0.9.3 it appears as garbage in Notepad and the file size is smaller.
could you expand a little more on "which" text file you downloaded? Or, does this happen with any text file? Where can one find an example? Also, could you confirm that using another browser (if available), the text file is correctly downloaded? (i can't reproduce the problem with text files I have tried to download. I'm using win2000 on the latest build) Maybe this problem has been fixed since 0.9.2 has been released. I could not find a duplicate however.
I can't reproduce either (win98SE 2001082303), but I think I have an idea what's going on : different OS's have different ideas about what constitutes a "text file", especially when it comes to newlines. DOS/Windows use and expect CR/LF pairs. Other OS's use just LF, IIRC. Notepad.exe is not the greatest at coping with this. Moz is probably saving the file as-is (and, IMO is correct to do so) and notepad is then not displaying the file as expected because the newlines are "messed up", i.e. not windows-centric. Reporter : can you provide a sample URL/Text file please.
http://www.gamefaqs.com/computer/doswin/game/26506.html Download any of those text files and they will be saved as garbage Confirmed on linux 2001082408, regression Catfood, this is very serious
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: nsCatFood
OS: Windows 98 → All
Hardware: PC → All
Saving those 3 files with konqueror works fine Taking a guess and moving to networking: file
Assignee: asa → dougt
Component: Browser-General → Networking: File
Keywords: regression
QA Contact: doronr → benc
This is not a carrier return issue, but rather saving in a wrong format. What happens when you try to download a text file as binary? I think that could be the problem
gz encoding problem.
Assignee: dougt → neeti
Component: Networking: File → Networking: HTTP
QA Contact: benc → tever
WFM 2001090603 W98
http://www.gamefaqs.com/computer/doswin/game/26506.html still fails on me on linux 2001090608 when saving the first file after viewing it
Is this same as 86235 ? Jerome
I have been able to confirm this problem with Build 2001112009 on Win2000. Saving any of the following text files using "File->Save Page As..." results in junk. http://db.gamefaqs.com/computer/doswin/file/alien_crossfire_a.txt http://db.gamefaqs.com/computer/doswin/file/alpha_centauri_b.txt Oddly enough, this text file saves fine. http://vv8.jetc.org/8-17.txt And this one saves with "wrong" line breaks (for notepad.exe anyway), but is otherwise readable. http://www.rpgamer.com/games/ff/fft/info/at_mech1.32.txt
lets move this to the right component.
Assignee: neeti → law
Component: Networking: HTTP → File Handling
QA Contact: tever → sairuh
Adding nsbeta1 keyword to all regressions so they *get some love* and attention.
Keywords: nsbeta1
The problem seems to be that these "text" files are content-encoded using gzip. If you gzip -d the files after downloading then they are fine. This problem is also covered by bug 121001 (which, while newer than this one, has more useful info in it). *** This bug has been marked as a duplicate of 121001 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.