(Oct-21-2016, 11:31 PM)snippsat Wrote: Use Requests,then you will never use urllib again.
I have testes code i post over and it work.
I have againt test, and not work...
print(url_get.encoding) # ISO-8859-1This works but the next line not works..
print(url_get.text) # All sourceI keep getting the same error
return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\x80' in position 9364: character maps to <undefined>
(Oct-21-2016, 11:31 PM)snippsat Wrote: Use Requests,then you will never use urllib again.
I have testes code i post over and it work.
¡Hey! thats works.. but with command in Windows
In the cmd ->
Output:[size=small][font=Monaco, Consolas, Courier, monospace]chcp 65001[/font][/size]