inspectdb does not handle non-ascii column names correctly
|Reported by:||moof@…||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.3|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When a database I am inspecting has a columnname of "TamañoFuente", inspectdb fails as it is unable to write "\xf1" as a valid ascii character.
It probably requires a proper #encoding: header, and some sort of logic to make proper python identifiers out of such names.
Change History (6)
comment:1 Changed 3 years ago by aaugustin
- Keywords inspectdb added
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 3 years ago by ramiro
- Component changed from ORM aggregation to Database layer (models, ORM)