Reputation: 68
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.
Upvotes: 0
Views: 128