[python-uk] Tell us what you did with Python this year....
Doug Winter
doug.winter at isotoma.com
Mon Dec 20 18:11:36 CET 2010
Alec Battles wrote:
> I seem to remember that 'file' in Linux detects encodings, but it's
> also a matter of calling it by the exact same name...
There is no foolproof way of detecting encoding unfortunately - you just
need to know what it is before you read the file.
Cheers,
Doug.
--
Telephone: +44 1904 567330, Mobile: +44 7879 423002
Switchboard: +44 1904 567349, Fax: +44 20 79006980
Post: Tower House, Fishergate, York, YO10 4UA, UK
Registered in England. Company No 5171172. VAT GB843570325.
Regd Office: 3&4 Park Court, Riccall Road, Escrick, York, YO19 6ED
More information about the python-uk
mailing list