On Tue, 20 Dec 2016 10:53 pm, Sayth Renshaw wrote:
> content.read().encode('utf-8'), parser=utf8_parser)
>
> However doing it in such a fashion returns this error:
>
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0:
> invalid start byte
That tells you that the XML file
Hi!
Sayth Renshaw schrieb am 20.12.2016 um 12:53:
> I have been trying to get a script to work on windows that works on mint. The
> key blocker has been utf8 errors, most of which I have solved.
>
> Now however the last error I am trying to overcome, the solution appears to
> be to use the .dec
Sayth Renshaw wrote:
> On Tuesday, 20 December 2016 22:54:03 UTC+11, Sayth Renshaw wrote:
>> Hi
>>
>> I have been trying to get a script to work on windows that works on mint.
>> The key blocker has been utf8 errors, most of which I have solved.
>>
>> Now however the last error I am trying to o
On Tuesday, 20 December 2016 22:54:03 UTC+11, Sayth Renshaw wrote:
> Hi
>
> I have been trying to get a script to work on windows that works on mint. The
> key blocker has been utf8 errors, most of which I have solved.
>
> Now however the last error I am trying to overcome, the solution appear
Possibly i will have to use a different method from lxml like this.
http://stackoverflow.com/a/29057244/461887
Sayth
--
https://mail.python.org/mailman/listinfo/python-list
Hi
I have been trying to get a script to work on windows that works on mint. The
key blocker has been utf8 errors, most of which I have solved.
Now however the last error I am trying to overcome, the solution appears to be
to use the .decode('windows-1252') to correct an ascii error.
I am usi