Made to_unicode and __decode_header more robust
authorGermán Poo-Caamaño <gpoo@gnome.org>
Wed, 11 Jul 2012 22:28:12 +0000 (15:28 -0700)
committerGermán Poo-Caamaño <gpoo@gnome.org>
Wed, 11 Jul 2012 22:28:12 +0000 (15:28 -0700)
commit7a38e04e1124cc6ba54476552e7b32280b642f34
tree65b3e89edfc45d321ef30e0a3b936cc809562bd3
parenta45722c451256ce6f8a9403ed708c7995bdd2a8f
Made to_unicode and __decode_header more robust

Added handling for more than one charset and try the most common
ones.

Signed-off-by: Germán Poo-Caamaño <gpoo@gnome.org>
pymlstats/analyzer.py