dose wget auto-convert the downloaded text file?

2006-04-16 Thread 18 mao
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

Re: dose wget auto-convert the downloaded text file?

2006-04-16 Thread Hrvoje Niksic
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

Re: dose wget auto-convert the downloaded text file?

2006-04-16 Thread Hrvoje Niksic
[ 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

RE: dose wget auto-convert the downloaded text file?

2006-04-16 Thread Tony Lewis
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