3

wgetパッケージを追加して、ストックCygwinインストールを実行しています。

コマンドを実行すると

wget -qO- tetristv.com/zapni.tv.php

私はこれを取得します。文字の誤った表示に注意してください

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 

ファイルをダウンロードしただけでは、メモ帳ではすべて問題なく表示されます。

wget tetristv.com/zapni.tv.php
4

2 に答える 2

3
$ LANG=en_US.CP1252
$ wget -qO- tetristv.com/zapni.tv.php

結果

261&session=NTk1NTg0ODU5OA==&stream=play</a></b><br>#EXTINF:0,Oèko<br><b><a

これも機能します

wget -qO- tetristv.com/zapni.tv.php | iconv -f cp1252
于 2012-06-15T15:45:23.920 に答える