Message216689
| Author | petr.dlouhy@email.cz |
|---|---|
| Recipients | Arfrever, Ariel.Ben-Yehuda, chris.jerdonek, eric.smith, ezio.melotti, loewis, petr.dlouhy@email.cz, serhiy.storchaka, vstinner |
| Date | 2014-04-17.14:14:08 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1397744048.59.0.888358478179.issue15276@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
For anyone stuck on Python 2.x, here is an workaround (maybe it could find it's way to documentation also):
def fix_grouping(bytestring):
try:
return unicode(bytestring)
except UnicodeDecodeError:
return bytestring.decode("utf-8") |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-04-17 14:14:08 | petr.dlouhy@email.cz | set | recipients: + petr.dlouhy@email.cz, loewis, vstinner, eric.smith, ezio.melotti, Arfrever, chris.jerdonek, serhiy.storchaka, Ariel.Ben-Yehuda |
| 2014-04-17 14:14:08 | petr.dlouhy@email.cz | set | messageid: <1397744048.59.0.888358478179.issue15276@psf.upfronthosting.co.za> |
| 2014-04-17 14:14:08 | petr.dlouhy@email.cz | link | issue15276 messages |
| 2014-04-17 14:14:08 | petr.dlouhy@email.cz | create | |