From: <tsz...@us...> - 2007-08-31 13:52:30
|
Revision: 816 http://aqualung.svn.sourceforge.net/aqualung/?rev=816&view=rev Author: tszilagyi Date: 2007-08-31 06:52:29 -0700 (Fri, 31 Aug 2007) Log Message: ----------- fix utf8 coding of id3v1 in the absence of valid coding aliases Modified Paths: -------------- trunk/src/metadata_id3v1.c Modified: trunk/src/metadata_id3v1.c =================================================================== --- trunk/src/metadata_id3v1.c 2007-08-31 13:07:23 UTC (rev 815) +++ trunk/src/metadata_id3v1.c 2007-08-31 13:52:29 UTC (rev 816) @@ -221,7 +221,7 @@ GError * error = NULL; /* convert to iso-8859-1 */ - str = g_convert_with_fallback(utf8, -1, "iso-8859-1", "utf8", "?", NULL, NULL, &error); + str = g_convert_with_fallback(utf8, -1, "iso-8859-1", "utf-8", "?", NULL, NULL, &error); if (str != NULL) { return str; } else { @@ -246,7 +246,7 @@ } else { g_clear_error(&error); - str = g_convert_with_fallback(tagenc, -1, "utf8", "iso-8859-1", "?", NULL, NULL, &error); + str = g_convert_with_fallback(tagenc, -1, "utf-8", "iso-8859-1", "?", NULL, NULL, &error); if (str != NULL) { return str; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |