freevo / kaa-base

Kaa.base is an LGPL-licensed generic Python application framework with an emphasis on asynchronous programming. (dead)
GNU Lesser General Public License v2.1
9 stars 7 forks source link

Fix encoding detection in strutils #6

Closed jtackaberry closed 11 years ago

jtackaberry commented 12 years ago

Downstream reported https://bugs.launchpad.net/ubuntu/+source/kaa-base/+bug/553827

Need to catch LookupError for invalid encodings. But there's an opportunity to be more intelligent with locales like ca_ES.UTF-8@valencia