mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 02:51:26 +00:00
fe3c445112
Normally, --subcp always forces conversion. This really always forces conversion, even if the UTF-8 check on the input succeeds. Extend the --subcp to allow codepages as fallback if UTF-8 doesn't work. So, for example --subcp=utf8:cp1250 will use UTF-8 if the input looks like UTF-8, and will fall back to use cp1250 if the UTF-8 check fails. I think this should actually be the default, but on the other hand, this changes the semantics of the option, and a user would actually expect --subcp to force conversion, rather than silently using UTF-8 if that happens to work. |
||
---|---|---|
.. | ||
af.rst | ||
ao.rst | ||
changes.rst | ||
encode.rst | ||
input.rst | ||
mpv.rst | ||
options.rst | ||
vf.rst | ||
vo.rst |