download tool issue with Cyrillic encoding in filenames (wget)
Closed, InvalidPublic


Author: a1

Description: tool do not recognize Cyrillic in names of files. For example it writes "Р%9FамС%8FС%82РЅРёРє_Р·Р°С%82опленнС%8BРј_РєРѕС%80аблС%8FРј_РІ_СеваС%81С%82ополе"
instead of "Памятник затопленным кораблям в Севастополе.JPG" Please, fix it.

Version: unspecified
Severity: normal

bzimport added projects: Utilities-Other, Upstream.Via ConduitNov 22 2014, 1:05 AM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz40844.
bzimport created this task.Via LegacyOct 7 2012, 7:40 PM
Platonides added a comment.Via ConduitOct 7 2012, 8:43 PM

As answered in the mailing list, that's a wget problem.

The list generated by my tool correctly uses:

The problem seems to lie in wget when extracting to a local filename.

If you are using *nix with a utf-8 filesystem, pass the
--restrict-file-names=nocontrol parameter to wget.

If you're using Windows you will end up with utf-8 encoded filenames, so
you'd need another script to decode them to the format used by Windows.

Aklapper added a comment.Via ConduitOct 9 2012, 4:02 PM

Andrij: Does comment 1 help?

bzimport added a comment.Via ConduitOct 9 2012, 5:07 PM

a1 wrote:

Unfortunately no. I could not understand how could i "pass the
--restrict-file-names=nocontrol parameter to wget".

Platonides added a comment.Via ConduitOct 13 2012, 3:52 PM

Andrij, you would add that inside download.bat

I could try downloading the category for you if that helps.

I reported the problem upstream This should be fixed at wget level.

liangent added a comment.Via ConduitOct 13 2012, 3:55 PM

Does this bug belongs to this bugzilla?

Aklapper added a comment.Via ConduitNov 14 2012, 3:21 PM

Andrij: Toolserver issues should be filed at

Closing as "INVALID" simply because this bug database is not the place where this report should be, but not because the report itself is invalid.

Luke081515 removed a subscriber: wikibugs-l-list.Via Bulk EditThu, Jan 28, 6:13 PM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptVia HeraldThu, Jan 28, 6:13 PM

Add Comment