1、使用TIdHTTP,如果访问的页面是utf-8编码,下载到页面后,需要进行编码转换。utf8toansi(idhttp1.Get( 'http://192.168.1.9/test.html '))