Endroid doesn't handle unicode
Bug #1365909 reported by
Phil Connell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EnDroid |
Confirmed
|
High
|
Unassigned |
Bug Description
Endroid currently uses byte strings (i.e. Python2 str()) everywhere rather than unicode.
This leads to ridiculous code like *encoding* a string just fetched from the database before it's used elsewhere, e.g.
users_blocked = users_blocked.
in
https:/
Changes that should be made:
- from __future__ import unicode_literals everywhere
- Decode from byte strings at the edges of endroid core (e.g. when receiving a message, reading from the database, ...)
- Plugins should never see byte strings.
To post a comment you must log in.