Use of wget in mingw 1. set mingw to enter and display Chinese characters in shell. open the configuration file/etc/profile and add it at the end. exportLANGenaliasl & amp; #39; /bin/ls -- show-control-chars -- colorauto & amp; #39; aliasla & amp; #39;/bi. use of wget in mingw 1. set mingw to enter and display Chinese characters in shell. open the configuration file/etc/profile and add it at the end, export LANG = en alias l = '/bin/ls -- show-control-chars -- color = Auto' alias la ='/bin/ls-aF -- show-control-chars -- color = auto'alias ll = '/bin/ls-alF -- show-control-chars -- color = Auto' alias ls ='/bin/ls -- show-control-chars -- color = Auto' Chinese input will be/etc/inputrc. default and. modify related items in the inputrc file to the following: set meta-flag onset input-meta onset output-meta onset convert-meta off2. install wget software because the wget version installed in the mingw is too old, therefore, you need to update the wget software mingw-get update // update the mingw installation package information mingw-get show | grep 'wget' // display information about the wget installation package mingw-get install msys-wget // install the latest wget installation package 3. use wget to download all the mythical chats in avlog.avplayer.org using the https protocol, and set the related options wget-r-nd-np -- no-check-certificate in wget' https://avlog.avplayer.org/ Myth/'after running wget, it will be found that wget does not support Chinese input. from the wget output information, it can be found that wget recognizes the url https://avlog.avplayer.org/ % C9 % F1 % BB % BO this is probably because the mingw console is GBK encoded, and wget parses the word "myth" in unicode mode, eventually, wget connect does not find the corresponding file (not Confirmed !). For the problem that wget does not support Chinese URLs, there are two solutions. one is to modify the source code (google only needs to modify a few lines of code ), another method is to copy the url from the url bar of the browser to gvim, and then use the converted url as the url parameter of wget, as shown below. https://avlog.avplayer.org/ % E7 % A5 % 9E % E8 % AF % 9D
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.