Quote:
Originally Posted by kovidgoyal
You need to fiure out what the encoding for the html pages you are scraping is. Common choices, latin1, cp1252, utf-8
|
Found the charset
PHP Code:
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
Tried with
PHP Code:
encoding = 'cp1252'
This fixed the issue
PHP Code:
encoding = 'utf-8'
Kudos!..