piranha/opster — pull request #7 by oscarbenjamin (2011-12-26 19:32:17+00:00)
Title: check 'ansi' in ENCODING

With this commit and your last commit the tests will run successfully on my machine.

It seems `ANSI_X3.4-1968` is a particular version of ascii. I don't know why it tries to use that when running the cram tests (I've always used UTF-8 for everything).

I don't know whether any other encodings would exist that have 'ANSI' in the name but would be unsuitable for 'UTF-8'.

Hopefully these issues will be easier in py3k.

Thanks,
Oscar.