[Tutor] Assistance with UnicodeDecodeError

Dave Angel davea at davea.name
Mon Feb 2 09:30:59 CET 2015


On 02/02/2015 02:52 AM, Cristian Di Stefano wrote:
> Hi Dave,
>
> you should set the correct encoding (maybe utf-8) in order to handle
> data from web. You cannot handle unicode data with simple string, you
> should encode to ASCII or manage data with the unicode type
>
> Best
> Cristian
>

Please don't top-post, as it confuses who wrote what part and in what 
sequence.  But I can see you're already confused, as you're addressing 
me when replying to J Mberia.

In any case, one cannot encode to ASCII, so you have to be much more 
explicit in what you're trying to say.  Or just wait till the OP 
clarifies his own code.


> Il 31/01/2015 23:44, Dave Angel ha scritto:
>> On 01/31/2015 08:37 AM, J Mberia wrote:
>>> Hi,
>>>
>>

<Out of sequence quote elided>


-- 
DaveA


More information about the Tutor mailing list