Mercurial > audlegacy-plugins
changeset 685:46743e3ebcc1 trunk
[svn] Use g_convert instead of str_to_utf8. This fixes ID3-Tags with ISO8859-1 encoded umlauts.
author | js |
---|---|
date | Tue, 20 Feb 2007 05:51:23 -0800 |
parents | c9eaa64b92b3 |
children | 0d098b87207a |
files | ChangeLog src/madplug/input.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Feb 20 05:47:25 2007 -0800 +++ b/ChangeLog Tue Feb 20 05:51:23 2007 -0800 @@ -1,3 +1,11 @@ +2007-02-20 13:47:25 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [1454] + - aacplus shoutcast support. prepare for segfaults. + + trunk/src/aac/src/libmp4.c | 55 ++++++++++++++++++++++++++++++++++++++++----- + 1 file changed, 49 insertions(+), 6 deletions(-) + + 2007-02-20 12:56:39 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [1452] - sbr decoding is not fixed point
--- a/src/madplug/input.c Tue Feb 20 05:47:25 2007 -0800 +++ b/src/madplug/input.c Tue Feb 20 05:51:23 2007 -0800 @@ -311,7 +311,7 @@ switch (encoding) { case ID3_FIELD_TEXTENCODING_ISO_8859_1: rtn0 = (gchar *)id3_ucs4_latin1duplicate(string); - rtn = str_to_utf8(rtn0); + rtn = g_convert(rtn0, -1, "utf8", "iso8859-1", NULL, NULL, NULL); g_free(rtn0); break; case ID3_FIELD_TEXTENCODING_UTF_8: