Not only that, I also have a branch that fixes the issue:
   https://github.com/julian-klode/python-apt/tree/bugfix/unicode

But I do not know yet whether merging this force-utf-8 thing again is a
sensible thing to do. It turns out that if you run your applications in
a normal environment, you do not need to specify the encoding at all,
Python will use the encoding of the locale. I did not notice that when I
first merged the fix.

This basically only makes situations work where people use the "C"
locale when running their python-apt-using tools, and another locale in
normal use. And I do not think that should be supported. There is
C.UTF-8 for language agnostic environments, and every system has a
default locale that system-wide dbus services should use.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1294531

Title:
  Unicode traceback saving empty SourcesList regression

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1294531/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to