Garbled when using urlread in Matlab

130 views Asked by At

When I was using urlread to scrape the website: http://www.trackdota.com, the returen is garbled.

Code:

url = 'http://www.trackdota.com'
urlread(url)

the return is something like:

      �Xms�6��_�:�|#��l��+�qҤә�M�n�ǣ�H��
 Z�$��}�/"eIuo���� ��.<ޏt薹`s���ޘ~�t"���.}��

even if I reset the charset:

url = 'http://www.trackdota.com'
urlread(url,'charset','UTF-8')

My OS is Windows 8 and the version of Matlab is 2013b.

0

There are 0 answers