https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231650
Kubilay Kocak <ko...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|pyt...@freebsd.org |ko...@freebsd.org Status|New |Closed CC| |pyt...@freebsd.org Resolution|--- |Not A Bug --- Comment #1 from Kubilay Kocak <ko...@freebsd.org> --- This is a common class of bug not specific to FreeBSD. Without an encoding specified for the open() method, it relies on the default system encoding(non-deterministic), which may not be UTF8 (in this case ascii) [1]. The solution is to specify the encoding to be used, so as not to be platform/system dependent. Examples: * https://bugs.launchpad.net/pbr/+bug/1704472 * https://github.com/mozilla/unicode-slugify/issues/16 * https://bitbucket.org/genomeinformatics/simlord/issues/1/error-when-installing-simlord-ascii-codec * https://github.com/morepath/morepath/issues/286 * https://github.com/chaoss/grimoirelab-perceval/issues/32 * https://github.com/rbarrois/python-semanticversion/issues/13 * Many others. Google: "setup.py" "codec can't decode byte" site:.github.com [1] https://docs.python.org/3/library/functions.html#open -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"