当我尝试下载文本文件时,我收到错误的文本,例如"úěć˨Të€Ás…žVż$—éxś¶źŹßCb}㬖92á•,˝V....."
我使用 WebClient 类:
private void button1_Click(object sender, EventArgs e)
{
WebClient _WebClient = new WebClient();
string url = "http://bossa.pl/pub/metastock/forex/sesjafx/";
string file= "20120601.prn";
_WebClient.DownloadFile(url + file, @"C:\"+file);
}
file 没有问题20120603.prn
,但20120601.prn
is. 怎么回事?