Cygwin的终端没有显示某些字符? [英] Cygwin terminal not displaying certain characters?
本文介绍了Cygwin的终端没有显示某些字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在运行的股票Cygwin的安装,添加包 wget的。
如果我运行一个命令
wget的-qO- tetristv.com/zapni.tv.php
我得到这个;注意字符显示不正确
<$c$c>session=OTA5Mjc0ODU5OA==&stream=play</a></b><br>#EXTINF:0,▒T 1&LT; BR&GT;&LT; B&GT;&LT;一
HREF =http://212.80.69.19/stream/vlc.php?id=39&session=OTA5Mjc0ODU5OA==&
流=玩目标=_空白相对=nofollow&GT; HTTP://212.80.69.19/stream
/vlc.php?id=39&session=OTA5Mjc0ODU5OA==&stream=play</a></b><br>#EXTINF:0,▒T
2'峰; br&GT;&所述b取代;&下; A HREF =http://212.80.69.19/stream/vlc.php?id=40&
会话= OTA5Mjc0ODU5OA ==&安培;流=玩目标=_空白
相对=nofollow&GT; HTTP://212.80.69.19/stream/vlc.php ID = 40安培;
会话= OTA5Mjc0ODU5OA ==&安培;流=播放与LT; / A&GT;&LT; / B&GT;&LT; BR&GT; #EXTINF:0,▒T24 LT; BR&GT;&LT; B&GT;&LT;一
如果我刚下载的文件,一切都看起来很好在记事本中。
wget的tetristv.com/zapni.tv.php
解决方案
$ LANG = en_US.CP1252
$ wget的-qO- tetristv.com/zapni.tv.php
结果
<$c$c>261&session=NTk1NTg0ODU5OA==&stream=play</a></b><br>#EXTINF:0,Oèko<br><b><a
这也适用
wget的-qO- tetristv.com/zapni.tv.php | -f的iconv CP1252
I am running a stock Cygwin install, with the wget
package added.
If I run a command
wget -qO- tetristv.com/zapni.tv.php
I get this; notice the incorrect display of characters
session=OTA5Mjc0ODU5OA==&stream=play</a></b><br>#EXTINF:0,▒T 1<br><b><a
href="http://212.80.69.19/stream/vlc.php?id=39&session=OTA5Mjc0ODU5OA==&
stream=play" target="_blank" rel="nofollow">http://212.80.69.19/stream
/vlc.php?id=39&session=OTA5Mjc0ODU5OA==&stream=play</a></b><br>#EXTINF:0,▒T
2<br><b><a href="http://212.80.69.19/stream/vlc.php?id=40&
session=OTA5Mjc0ODU5OA==&stream=play" target="_blank"
rel="nofollow">http://212.80.69.19/stream/vlc.php?id=40&
session=OTA5Mjc0ODU5OA==&stream=play</a></b><br>#EXTINF:0,▒T 24<br><b><a
If I just download the file, everything looks fine in Notepad.
wget tetristv.com/zapni.tv.php
解决方案
$ LANG=en_US.CP1252
$ wget -qO- tetristv.com/zapni.tv.php
Result
261&session=NTk1NTg0ODU5OA==&stream=play</a></b><br>#EXTINF:0,Oèko<br><b><a
This also works
wget -qO- tetristv.com/zapni.tv.php | iconv -f cp1252
这篇关于Cygwin的终端没有显示某些字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文