]> diplodocus.org Git - flac-archive/commitdiff
Set encoding of description.
authorepg <>
Thu, 2 Nov 2006 09:12:05 +0000 (09:12 +0000)
committerepg <>
Thu, 2 Nov 2006 09:12:05 +0000 (09:12 +0000)
taglib.cc

index 8150ed809b0c00061d846adadec2fad9e3cde507..dd6526bf8217baadf3e7524423481f999d77652c 100644 (file)
--- a/taglib.cc
+++ b/taglib.cc
@@ -31,6 +31,7 @@ taglib_apic(const char *fn, const char *image, int len,
 
     /* Um, look at all these void-returning functions.  I'm sure they
      * can fail, i just have no way to detect it... */
+    p->setTextEncoding(TagLib::String::UTF8);
     p->setType((TagLib::ID3v2::AttachedPictureFrame::Type)type);
     p->setMimeType(mime_type);
     p->setPicture(*bv);