Public bug reported: It seems there can be encoding problems inside snaps.
Example 1: 1. Install the "hello-world" snap. 2. Run "hello-world.sh" (a shell is started). 3. Try to write something with an accented or special character, like "Olá Mundo" or "€". It doesn't work. Example 2: 1. Create a simple python script that prints an accented character, like: #!/usr/bin/env python3 print("Olá Mundo!") 2. Package it in a snap that provides that script as an app. 3. Run that snappy app. It raises an exception: Traceback (most recent call last): File "/snap/ola/100001/ola", line 2, in <module> print("Ol\xe1 Mundo!") UnicodeEncodeError: 'ascii' codec can't encode character '\xe1' in position 2: ordinal not in range(128) ** Affects: snapd (Ubuntu) Importance: Undecided Status: New ** Tags: xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576411 Title: UTF-8 is not very well supported inside snaps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1576411/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs