[Android] [PATCH] Add an option to change the encoding of the subtitles

Ludovic Fauvet etix at videolan.org
Wed Dec 5 18:33:52 CET 2012


On Wed, Dec 5, 2012 at 6:25 PM, Rafaël Carré <funman at videolan.org> wrote:
> Le 05/12/2012 18:20, Ludovic Fauvet a écrit :
>> On Wed, Dec 5, 2012 at 6:16 PM, Rafaël Carré <funman at videolan.org> wrote:
>>> Le 05/12/2012 18:14, Ludovic Fauvet a écrit :
>>>
>>> Why not use UTF-8 ?
>>
>> The subsdec module supports UTF-8 auto-detection.
>
> Then if all inputs are UTF-8 and text files (srt) are converted we can
> rely on auto detection. Simpler, no?

UTF-8 auto-detection only works if the file starts with a bom which is
not guaranteed.
Anyway you can't bet that all srt are correctly encoded thus this option.

--
Ludovic Fauvet


More information about the Android mailing list