UTF-8 and latin1

Tobiah toby at tobiah.org
Wed Aug 17 13:55:11 EDT 2022


On 8/17/22 08:33, Stefan Ram wrote:
> Tobiah <toby at tobiah.org> writes:
>> I get data from various sources; client emails, spreadsheets, and
>> data from web applications.  I find that I can do some_string.decode('latin1')
> 
>    Strings have no "decode" method. ("bytes" objects do.)

I'm using 2.7.  Maybe that's why.
  

Toby


More information about the Python-list mailing list