Package: libapache2-mod-wsgi-py3
Version: 4.5.17-1

Hello,

when trying a wsgi script with libapache2-mod-wsgi-py3, I get an
error

SyntaxError: Non-ASCII character '\xc2' in file
.../radicale.wsgi on line 4, but no encoding declared; see
http://python.org/dev/peps/pep-0263/ for details

Externally a 500 internal error is shown.

Inserting # coding: utf-8 as second line solves it for me.

Nevertheless utf-8 is the default encoding for python3, and other
modules (notably libapache2-mod-uwsgi and derivates) accept it
without change.

Please consider having libapache2-mod-wsgi-py3 use utf-8 as
default encoding.

Bye,

Joerg

Attachment: signature.asc
Description: PGP signature

Reply via email to