Garbage in, barbage out. I think opening things and reading as utf-8 is
good. For added resilience, one has to also espace unicode encoding
errors too, and replace them with anything readable. I.e. one may choose
to read in binary, and then decode as utf-8 with any errors replaced,
ie.:

b'somebinary string'.decode('utf-8', 'replace')

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

Title:
  Error in system information after logging in to your account

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1780071/+subscriptions

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

Reply via email to