Re: [bug #64808] When I use wget to download some files from a web server, files with russian names do not get proper names

"Michael D. Setzer II" <[email protected]> Sat, 18 Nov 2023 08:48:54 +1000
Newsgroups gmane.comp.web.wget.general
Message-ID <[email protected]>
On 17 Nov 2023 at 20:34, [email protected] wrote:

Date sent:      	Fri, 17 Nov 2023 20:34:37 +0100
From:           	[email protected]
To:             	[email protected]
Subject:        	Re: [bug #64808] When I use wget to download 
some files from a web
	server, files with russian names do not get proper 
names

> I use Linux and so not exe files. I use Gentoo Linux.
> 
> Command line example:
> One line (wget and the url):
> 
> wget
> http://releases.mozilla.org/pub/firefox/releases/119.0.1/source/firefox-119.0.1.source.tar.xz
> 
> result: a file with a wrong checksum.
> 
> Greetings
> Graf Grimm
> 

What exact error are you seeing? Downloaded with wget and wget2 and worked fine?
Downloaded 
wget http://releases.mozilla.org/pub/firefox/releases/119.0.1/source/firefox-119.0.1.source.tar.xz

--2023-11-18 08:27:18--  http://releases.mozilla.org/pub/firefox/releases/119.0.1/source/firefox-119.0.1.source.tar.xz
Resolving releases.mozilla.org (releases.mozilla.org)... 34.117.35.28
Connecting to releases.mozilla.org (releases.mozilla.org)|34.117.35.28|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 524717896 (500M) [application/x-tar]
Saving to: ‘firefox-119.0.1.source.tar.xz’

firefox-119.0.1.source.tar.xz 100%[=================================================>] 500.41M  5.89MB/s    in 83s     

2023-11-18 08:28:42 (6.00 MB/s) - ‘firefox-119.0.1.source.tar.xz’ saved [524717896/524717896]

Moved file to subdirectory zz and then tar -xvf file no issues?

Downloaded with wget2
[root@setzconote ~]# wget2 http://releases.mozilla.org/pub/firefox/releases/119.0.1/source/firefox-119.0.1.source.tar.xzfirefox-119.0.1.sour 100% [=====================================================================>]  500.40M    6.08MB/s
                          [Files: 1  Bytes: 500.40M [5.94MB/s] Redirects: 0  Todo: 0  Errors: 0  ]
[root@setzconote ~]# cmp firefox-119.0.1.source.tar.xz zz/firefox-119.0.1.source.tar.xz 
no difference in files.



> On Fri, 17 Nov 2023 14:12:28 -0500 (EST)
> [email protected] wrote:
> > Follow-up Comment #4, bug #64808 (project wget):
> >
> > Windows character encodings may be special.
> > Is this issue reproducible on e.g. GNU/Linux?
> > I am willing to test it on GNU/Linux, but I need a full command line
> > example from you.
> >
> > Out of curiosity, can you test wget2.exe from
> > https://gitlab.com/gnuwget/wget2/-/releases (there is also a .sig
> > file / PGP signature in case you want to verify the origin).
> >
> >
> >
> >     _______________________________________________________
> >
> > Reply to this item at:
> >
> >   <https://savannah.gnu.org/bugs/?64808>
> >
> > _______________________________________________
> > Message sent via Savannah
> > https://savannah.gnu.org/
> >
> >
> >
> 


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)     
 mailto:[email protected]                            
 mailto:[email protected]
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+