GNOME Bugzilla – Bug 584445
gst.TagList getters and setters should convert unicode objects to UTF-8 string objects
Last modified: 2009-06-01 20:11:55 UTC
GstTagList strings are implicitly utf-8. It should be possible to do: taglist[gst.TAG_ARTIST] = u'Sígur Ròs' the attached patch implements this.
Created attachment 135722 [details] [review] implements conversion
Created attachment 135723 [details] [review] generic conversion for G_STRING <-> unicode
Created attachment 135724 [details] [review] updated patch, fixes another test where isinstance(.., str) was used
Ok, please commit !
commit 88f3323bfe15ae6aee762ba64588980b6036d4ea Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org> Date: Mon Jun 1 19:08:47 2009 +0200 Convert unicode objects to utf-8 encoded G_STRINGs