Re: read_table € symbol

Thomas Jollans tjol at tjol.eu
Thu Oct 26 11:31:06 EDT 2017


On 2017-10-26 17:04, Davide Dalmasso wrote:
> Dear all,
> I'm trying to read a txt file with read_table but in the file there are some string that contain the € symbol and the procedure returns me an error.
> I tried with encoding='utf-8' but the problem is still there:
> pd.read_table('filename.txt', sep=';', encoding='utf-8')
> Anyone can help me?
> Many thanks in advance
> 
> Davide

What error?
Are you sure the file is UTF-8 encoded? (and not ISO-8859-15, or
Windows-1252, or something?)



-- 
Thomas Jollans



More information about the Python-list mailing list