title: Reading srt (subtitle) files with Python3
body: <p>I wish to be able to read an srt file with python3. </p>
  
  <p>These files can be found here: 
    <a href="http://www.opensubtitles.org/" rel="nofollow">http://www.opensubtitles.org/</a></p>
  
  <p>With info here:
    <a href="http://en.wikipedia.org/wiki/SubRip" rel="nofollow">http://en.wikipedia.org/wiki/SubRip</a></p>
  
  <p>Subrip supports any encoding: ascii or unicode, for example.</p>
  
  <p>If I understand correctly then I need to specify which decoder to use when I use pythons read function. So am I right in saying that I need to know how the file is encoded in order to make this judgement? If so how do I establish that for each file if I have a hundred such files with different sources and language support?</p>
  
  <p>Ultimately I would prefer if I could convert the files so that they are all in utf-8 encoding to start with. But some of these files might be some obscure encoding for all I know. </p>
  
  <p>Please help,</p>
  
  <p>Barry</p>