Commit 09cc4c98 authored by oggk's avatar oggk
Browse files

do not drop UTF-8 subtitles on the floor is --subtitles-ignore-non-utf8

 is not used (ok'd by j)

parent 57bf12c4
......@@ -184,6 +184,9 @@ static char *convert_subtitle_to_utf8(F2T_ENCODING encoding,char *text,int ignor
fprintf(stderr, "WARNING - Found non utf8 character(s) in string %s, scrubbed out\n", text);
}
}
else {
newtext = strdup(text);
}
break;
case ENC_ISO_8859_1:
/* simple, characters above 0x7f are broken in two,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment