Opened 11 years ago

Closed 10 years ago

#6464 closed patch (fixed)

MythDB.py patch so that all "utf8_general_ci" fields are returned as 'utf8' strings

Reported by: r.d.vaughan@… 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)

MythDB_utf8.patch (511 bytes) - added by r.d.vaughan@… 11 years ago.
Have MythDB.py connect to the database so that "utf8_general_ci" fields are returned as 'utf8' strings
MythDB_utf8.patch.tar.gz (329 bytes) - added by r.d.vaughan@… 11 years ago.
Proper archive of patch
MythDB_utf8.patch.tar.2.gz (504 bytes) - added by r.d.vaughan@… 11 years ago.
Finally this should be a proper patch for MythDB.py
MythDB_utf8.2.patch (900 bytes) - added by r.d.vaughan@… 11 years ago.
Just the diff file

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by r.d.vaughan@…

Attachment: MythDB_utf8.patch added

Have MythDB.py connect to the database so that "utf8_general_ci" fields are returned as 'utf8' strings

Changed 11 years ago by r.d.vaughan@…

Attachment: MythDB_utf8.patch.tar.gz added

Proper archive of patch

Changed 11 years ago by r.d.vaughan@…

Attachment: MythDB_utf8.patch.tar.2.gz added

Finally this should be a proper patch for MythDB.py

Changed 11 years ago by r.d.vaughan@…

Attachment: MythDB_utf8.2.patch added

Just the diff file

comment:1 Changed 10 years ago by Rob Smith

Resolution: fixed
Status: newclosed

(In [21051]) Fixes #6464, this update MythDB.py to return all utf8_general_ci fields as utf8

Note: See TracTickets for help on using tickets.