Issue with Python library (urwid) and locale encodings

Also refer to The locales-launch launcher: Fix Glibc locales in the snap runtime and The gettext-launch launcher: Fix gettext-based internationalization in the snap runtime .