[Biopython-dev] Python 3.4 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3
Tiago Antao
tra at popgen.net
Thu May 1 13:58:59 UTC 2014
Hi,
On Wed, 30 Apr 2014 11:02:52 +0100
Peter Cock <p.j.a.cock at googlemail.com> wrote:
> These are deliberate tests of accented characters (and other
> non-ASCII text) in a unicode description. Both XML files says they
> are using UTF-8 as the encoding.
I have added locale support to docker and now tests pass.
That being said, it seems that the code is using the machine locale
(not the XML locale) and thus, if the default locale is not utf-8 maybe
the tests will fail. This might be very minor as probably most machines
are utf-8 defaulted anyway...
Tiago
More information about the Biopython-dev
mailing list