I downloaded Quokka Python/Flask CMS to a CentOS7 server. Everything works fine with command
sudo python3 manage.py runserver --host 0.0.0.0 --port 80
At the top of your Python script, try to put
export LC_ALL=en_US.utf-8 export LANG=en_US.utf-8