This is a tool to convert rst file to xml file'. Srt file is converted to utf-8 encoding, sorted by start time, and converted to xml format. This code use the module zh_to_utf8. How to use: $ python srt_to_xml.py filename