diff options
Diffstat (limited to 'misc/charset_conv.c')
-rw-r--r-- | misc/charset_conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/charset_conv.c b/misc/charset_conv.c index 5c38cfad0e..7dc1a87783 100644 --- a/misc/charset_conv.c +++ b/misc/charset_conv.c @@ -234,5 +234,5 @@ bstr mp_iconv_to_utf8(struct mp_log *log, bstr buf, const char *cp, int flags) #endif failure: - return (bstr){0}; + return bstr_sanitize_utf8_latin1(NULL, buf); } |