bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] error on non-ascii uri


From: grimpen
Subject: [Bug-wget] error on non-ascii uri
Date: Wed, 07 May 2014 16:02:15 +0100

if this is not a bug, what is the fix?

$ cat dlx
http://imaginäreseigentum.de/de/html/index.html

$ wget -N -i dlx
Incomplete or invalid multibyte sequence encountered
--2014-05-07 15:16:02-- 
http://imagin%E4reseigentum.de/de/html/index.html
idn_decode failed (9): `System iconv failed'
Resolving imagin\344reseigentum.de... failed: Parameter string not
correctly encoded.
wget: unable to resolve host address `imagin\344reseigentum.de'


$ cat dly
http://imagin%E4reseigentum.de/de/html/index.html

$ wget -N -i dly
Incomplete or invalid multibyte sequence encountered
--2014-05-07 15:10:52-- 
http://imagin%E4reseigentum.de/de/html/index.html
idn_decode failed (9): `System iconv failed'
Resolving imagin\344reseigentum.de... failed: Parameter string not
correctly encoded.
wget: unable to resolve host address `imagin\344reseigentum.de'

$ uname -a
CYGWIN_NT-5.1 grimpen 1.7.28(0.271/5/3) 2014-02-09 21:06 i686 Cygwin

$ echo $LANG
en_US.UTF-8



http://www.gnu.org/software/wget/manual/wget.html
2.1 URL Format has:

encode unsafe characters in a url as ‘%xy’, xy being the hexadecimal
representation of the character's ascii value
-- 
  grimpen
  address@hidden

-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own




reply via email to

[Prev in Thread] Current Thread [Next in Thread]