>> 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.
That's interesting. I wonder if there's a mathematical proof of the 'undecidability' of text encodings. _______________________________________________ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk