search for: decoded_value

Displaying 1 result from an estimated 1 matches for "decoded_value".

2001 Sep 30
3
UTF-8 stuff
..."bad comment: \"%s\"\n", buf); @@ -177,14 +176,14 @@ ***********/ -void print_comments(FILE *out, vorbis_comment *vc, char *encoding) +void print_comments(FILE *out, vorbis_comment *vc) { int i; char *decoded_value; for (i = 0; i < vc->comments; i++) { - if (utf8_decode(vc->user_comments[i], &decoded_value, encoding) == 0) + if (convert_from_utf8(vc->user_comments[i], &decoded_value) >= 0) { fprintf(out, "%s\n", decoded_val...