Opened 15 years ago
Closed 15 years ago
#6464 closed patch (fixed)
MythDB.py patch so that all "utf8_general_ci" fields are returned as 'utf8' strings
Reported by: | Owned by: | Anduin Withers | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | Bindings - Python | Version: | unknown |
Severity: | medium | Keywords: | mythdb unicode utf8 |
Cc: | Ticket locked: | no |
Description
This patch has MythDB.py catching up with the change of some fields to "utf8_general_ci" in trunk.
Specifies that all string fields are to be returned as 'utf8' strings. Without this patch all fields specified as "utf8_general_ci" were being returned as 'str' type variables. This made processing problematic for python scripts expecting utf8 strings from the trunk v0.22 Mythtv database.
Attachments (4)
Change History (5)
Changed 15 years ago by
Attachment: | MythDB_utf8.patch added |
---|
Changed 15 years ago by
Attachment: | MythDB_utf8.patch.tar.2.gz added |
---|
Finally this should be a proper patch for MythDB.py
Note: See
TracTickets for help on using
tickets.
Have MythDB.py connect to the database so that "utf8_general_ci" fields are returned as 'utf8' strings