Hello Mike,

 On Sunday, February 13, 2005 at 1:10:26 PM -0600, Mike Steigerwald wrote:

> I've hit a strange wall using the [-i] option.
>| Invalid URL ??h: Unsupported scheme
> there is an unrecognized character at the beginning of the file.

    Probably your test.txt is saved in Unicode UCS-2 charset by Notepad.
I can nearly reproduce your error under Linux, with wget 1.9.1 and an
UCS-2 list of URLs:

| $ cat test.txt | hex
| FF FE 68 00 74 00 74 00 70 00 3A 00 2F 00 2F 00 77 00 77 00 77 00 2E
| 00 67 00 6E 00 75 00 2E 00 6F 00 72 00 67 00
|
| $ cat test.txt | iconv -f ucs-2
| http://www.gnu.org
|
| $ wget -i test.txt
| test.txt: Invalid URL ÿþh: Unsupported scheme
| No URLs found in test.txt.

    With Notepad, do a "Save as..." and change "Encoding:" from
"Unicode" to "ANSI". It should save an Ascii file.


Bye!    Alain.
-- 
When you want to reply to a mailing list, please avoid doing so from a
digest. This often builds incorrect references and breaks threads.

Reply via email to