hello everyone,i use wget to download some html files,and use
vim to edit them,i fount that the newline has been replaced to
^M(it's just my suspection,i know nothing about the encoding
method),and when i changed to uhex mode of vim to find more details i
found that ^M is actually 0d.
the same
18 mao [EMAIL PROTECTED] writes:
[...]
To answer the question in your subject line: no, Wget does not
auto-convert downloaded text files. It strives to download all files
unchanged byte-for-byte.
i use wget to download some html files,and use vim to edit them,i
fount that the newline has been
[ Please leave the Cc to [EMAIL PROTECTED] ]
18 mao [EMAIL PROTECTED] writes:
To answer the question in your subject line: no, Wget does not
auto-convert downloaded text files. It strives to download all files
unchanged byte-for-byte.
maybe that's the reason about the character
18 mao [EMAIL PROTECTED] wrote:
then save the page as 2.html with the FireFox browser
You should not assume that the file saved by any browser is the same as the
file delivered to the browser by the server. The browser is probably
manipulating line endings to match the conventions on your