diff -ur vorbis-tools-1.1.1/vorbiscomment/vcomment.c vorbis-tools-1.1.1.whats/vorbiscomment/vcomment.c --- vorbis-tools-1.1.1/vorbiscomment/vcomment.c 2008-04-09 11:47:57.000000000 -0500 +++ vorbis-tools-1.1.1.whats/vorbiscomment/vcomment.c 2008-04-09 05:53:22.000000000 -0500 @@ -251,7 +251,7 @@ value = line; while (value < mark) { - if(*value < 0x20 || *value > 0x7d || *value == 0x3d) return -1; +// if(*value < 0x20 || *value > 0x7d || *value == 0x3d) return -1; value++; } @@ -263,17 +263,19 @@ vorbis_comment_add_tag(vc, line, value); return 0; } + else { /* convert the value from the native charset to UTF-8 */ - else if (utf8_encode(value, &utf8_value) >= 0) { +// else if (utf8_encode(value, &utf8_value) >= 0) { /* append the comment and return */ - vorbis_comment_add_tag(vc, line, utf8_value); - free(utf8_value); +// vorbis_comment_add_tag(vc, line, utf8_value); + vorbis_comment_add_tag(vc, line, value); + // free(utf8_value); return 0; - } else { - fprintf(stderr, _("Couldn't convert comment to UTF-8, " - "cannot add\n")); - return -1; +// } else { +// fprintf(stderr, _("Couldn't convert comment to UTF-8, " +// "cannot add\n")); +// return -1; } }