[Top][All Lists]

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

Re: [Bug-wget] Problem with ÅÄÖ and wget

From: Bykov Aleksey
Subject: Re: [Bug-wget] Problem with ÅÄÖ and wget
Date: Fri, 13 Sep 2013 12:43:53 +0300
User-agent: Opera Mail/12.14 (Win32)

Yes, You show correct cyrillic filename.
Sorry, I'm not aggree that this bug is ready to close.
Your method is mentioned in it.
This bug about filenames in non UTF-8 locales.
Main qoute:
If you are using a unix-like OS where the filesystem interface uses
utf-8, there is a workaround of using --restrict-file-names=nocontrol
(which is still too big, as that would allow problematic control
characters %01 or %09).
If you are using Windows, --restrict-file-names=nocontrol still gives
garbage (the utf-8 characters are treated as if they were in latin1).

I'm tried to solve this bug by adding new options
but patch was (rejected?)/(frozen?)/(lack of demand?).

Sorry, I don't know how Björn Mattsson swith it Windows Vista (x64)
filesystem to UTF-8.
In Russian locales Windows 98, XP (x86), Vista (x86) use filesystem
encoding CP866.

Best regars, Alex

On Fri, 13 Sep 2013 10:50:10 +0300, Tim Ruehsen <address@hidden> wrote:

Wasn't that problem always there?
Looks like bug 37564 [1], you can work around it with
You may find some more information in the list archives.

1- https://savannah.gnu.org/bugs/index.php?37564

Please excuse me for my confusion. In my first tests I didn't have a proper utf-8 environment. Than I had, but didn't use --restrict-file-names=nocontrol.

Now, having a proper utf-8 env AND using nocontrol, everything looks perfect.
The bug should be closed.

$ wget --restrict-file-names=nocontrol

--2013-09-13 09:43:01--
Resolving upload.wikimedia.org (upload.wikimedia.org)...,
Connecting to upload.wikimedia.org (upload.wikimedia.org)||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6937886 (6.6M) [image/jpeg]
Saving to: ‘Памятник_затопленным_кораблям_в_Севастополе.JPG’

6,937,886   1.27MB/s   in 7.2s

2013-09-13 09:43:09 (936 KB/s) -
‘Памятник_затопленным_кораблям_в_Севастополе.JPG’ saved [6937886/6937886]

$ ls -la
total 119316
drwxr-xr-x  3 oms users     20480 13-09-13 09:43:01 .
drwxr-xr-x 17 oms users      4096 09-09-13 10:36:19 ..
-rw-r--r--  1 oms users   6937886 01-09-12 10:41:38

I hope my email program does it right and you can see the cyrillic filename.


reply via email to

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