This is preparation for making the GUI present the encoding detected by e.g. a byte order mark to the user so that she doesn't have to (and cannot) chose a subtitle character set herself. See #2053.