summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-22 23:40:48 +0200
committerwm4 <wm4@nowhere>2014-07-22 23:40:48 +0200
commitaa1a383342f72fb0dfb1fb016535735bc0480e7e (patch)
tree80a513403a6cb4a1adf4fb39be04ef630ff9fb1b /DOCS
parent63373ca424f5eaef50a797b7bc7f6c395ed23331 (diff)
downloadmpv-aa1a383342f72fb0dfb1fb016535735bc0480e7e.tar.bz2
mpv-aa1a383342f72fb0dfb1fb016535735bc0480e7e.tar.xz
sub: add detection via BOM
Useful for Windows stuff. Actually, ENCA support should catch this, but, well, whatever, everyone seems to hate ENCA. Detection with BOM is trivial, although it needs some hackery to integrate it with the existing autodetection support. For one, change the default value of --sub-codepage to make this easier. Probably fixes issue #937 (the second part).
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 86cfa965c2..99ce772514 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2260,6 +2260,9 @@ OPTIONS
which means it will try to use UTF-8, otherwise the ``UTF-8-BROKEN``
pseudo codepage (see below).
+ The default value for this optino is ``auto``, whose actual effect depends
+ on whether ENCA is compiled.
+
.. admonition:: Warning
If you force the charset, even subtitles that are known to be