0
$ wget http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
--2013-12-01 17:04:31--  http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
Length: 16341773 (16M) [application/x-gzip]
Saving to: ***“gettext-0.18.3.1.tar.gzâ€***

When I use wget to download the gettext source, some unknown characters appear.

Robin Green
  • 32,079
  • 16
  • 104
  • 187
FlurryWInd
  • 305
  • 1
  • 4
  • 12

1 Answers1

0

It is just an encoding issue with your terminal environment. If you use ls you will see your file has been saved with the correct filename.

wget is trying to use "smart quotes", but is using the wrong encoding for some reason. See How to get terminal's Character Encoding (which is probably not the best reference for a newbie - ask in a comment if you don't understand it!)

Community
  • 1
  • 1
Robin Green
  • 32,079
  • 16
  • 104
  • 187
  • 1
    Many thanks. I know the reason now. Originally, I use the Xshell to connect to the host machine. And the encoding in my Xshell is default, which will cause this problem. I change the encoding to "UTF-8", and it works now. Thanks again – FlurryWInd Dec 01 '13 at 07:59