mshow: print encoding error message to stderr

This commit is contained in:
Leah Neukirchen 2020-08-02 14:09:56 +02:00
parent 957c09909d
commit 7e9e75bd88

View File

@ -84,7 +84,7 @@ print_u8recode(char *body, size_t bodylen, char *srcenc)
ic = iconv_open("UTF-8", srcenc);
if (ic == (iconv_t)-1) {
printf("unsupported encoding: %s\n", srcenc);
fprintf(stderr, "unsupported encoding: %s\n", srcenc);
return;
}