bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] url unencoding problem for russian big letter


From: Kostya Sha
Subject: [Bug-wget] url unencoding problem for russian big letter
Date: Sun, 4 Apr 2010 19:05:00 +0300
User-agent: KMail/1.13.1 (Linux/2.6.33-gentoo; KDE/4.4.1; i686; ; )

http server show file names in utf-8, konsole locale is ru_RU.UTF-8:
# wget http://xxx/ftp/work/bugs/digikam/Без%20имени.jpg
--2010-04-04 18:27:55--  
http://xxx/ftp/work/bugs/digikam/%D0%91%D0%B5%D0%B7%20%D0%B8%D0%BC%D0%B5%D0%BD%D0%B8.jpg
Устанавливается соединение с xxx:80... соединение установлено.
Запрос HTTP послан, ожидается ответ... 200 OK
Длина: 123307 (120K) [image/jpeg]
Saving to: «\320%91ез имени.jpg.1»

100%[===============================>] 123,307     --.-K/s   в 0.08s    

2010-04-04 18:27:55 (1.45 MB/s) - «\320%91ез имени.jpg.1» saved 
[123307/123307]

I also try with ftp server that show file names in cp1251 - same problem.
Big russian letter "Б" (%90%91) is uncoded as "\320%91". 
I think problem near '%9'->'\32'.

Additional info:
# LANG=C wget -V
GNU Wget 1.12 built on linux-gnu.

+digest +ipv6 +nls -ntlm +opie +md5/openssl +https -gnutls +openssl 
+iri 

Wgetrc: 
    /etc/wgetrc (system)
Locale: /usr/share/locale 
Compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc" 
    -DLOCALEDIR="/usr/share/locale" -I. -I../lib -O2 -march=native 
    -pipe -fomit-frame-pointer 
Link: i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer 
    -Wl,-O1 -Wl,--sort-common -Wl,--warn-once -lssl -lcrypto -ldl -lrt 
    -lidn ftp-opie.o openssl.o gen-md5.o ../lib/libgnu.a 

p.s. for some reasons i replaced address with xxx.

reply via email to

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