Closed
Bug 1148720
Opened 10 years ago
Closed 9 years ago
Seamonkey/Firefox garbles saved text files
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jgamleus, Unassigned)
Details
Attachments
(1 file)
|
118.13 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1
Build ID: 20150321194901
Steps to reproduce:
surf to local file wget.html (see attachment), which looks like
NAME
Wget − The non−interactive network downloader.
SYNOPSIS
wget [option]... [ URL ]...
DESCRIPTION
GNU Wget is a free utility for non-interactive download of files from the Web.
It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP
proxies.
etc.
choose File, Save As..., txt-format
Actual results:
The generated output looks like
NAME
Wget ? The non?interactive network downloader.
SYNOPSIS
wget [/option/]... [ /URL/ ]...
DESCRIPTION
GNU Wget is a free utility for non-interactive download of files from
the Web. It supports HTTP, HTTPS, and FTP protocols, as well as
retrieval through HTTP proxies.
(lines are separated strangely, - is replaced by ?, indents given were there are no indents, indents taken where there are indents)
Expected results:
output should be like
NAME
Wget − The non−interactive network downloader.
SYNOPSIS
wget [option]... [ URL ]...
DESCRIPTION
GNU Wget is a free utility for non-interactive download of files from the Web.
It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP
proxies.
etc.
Suppose its because some "characters" cannot be represented as "text", so it tries its best to do with what it can work with.
While you may look & see what looks like a - (dash), source shows it to be a "minus" (&minus) which can't be represented as ascii "text".
Likewise how do you represent "italics". Source shows <i></i>, but again in ascii "text", there is no such thing.
(Sometimes when I want to emphasize something, even here, bugzilla, being text only, I'll tend to use /slashes/ to represent italics ;-). [Oh just how are you supposed to do a :wink: in "text"?])
PS: Wget in /ascii text/ can be had here, https://www.gnu.org/software/wget/manual/.
(But of course not everything will be available that way.)
Comment 3•10 years ago
|
||
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
This file claims to be 7 bit US-ASCII. However all the non-ASCII characters are & encoded and this page (saved to disk) works for me. I can't reproduce the problem.
Updated•9 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•