This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| 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 | |