diff options
author | wm4 <wm4@nowhere> | 2015-12-20 20:55:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-20 20:55:24 +0100 |
commit | fc7212b2142ec45dbb6a54127d4eeb2bc9b6abd9 (patch) | |
tree | 48f905956f5e570e348a2cbc013c377e0ea23299 /audio | |
parent | f2187de8bb9eedf45e0d6629e4d664eb32f311ac (diff) |
charset_conv: check for UTF-8 if uchardet returns unknown
When libuchardet returns an empty string, it can be either ASCII, UTF-8,
or an unknown encoding. Try to distinguish it from the unknown case by
checking for UTF-8. This avoids an annoying message, and avoids
unnecessary processing (we convert invalid UTF-8 sequences to latin1 to
workaround libavcodec's braindead UTF-8 check).
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions