Indeed, if you import gi.repository.Gtk it won't, but it still does if you import pango.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/27112 Title: "import gtk" changes sys.getdefaultencoding() To manage notifications about this bug go to: https://bugs.launchpad.net/pygtk/+bug/27112/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs