xbmc/xbmc — pull request #3914 by Karlson2k (2013-12-28 15:23:36+00:00)
Title: DVDSubtitleStream: better detect stream encoding and optimization

Use BOM detection for all supported charsets, not only UTF-8 and UTF-16LE
Avoid double convert subtitle->wstring->UTF-8. Use direct conversion subtitle->UTF-8
Additionally replaced CharsetConverter: subtitleCharsetToW -> subtitleCharsetToUtf8