umpirsky/titlerator

将字幕转换为utf-8编码。

dev-master 2016-03-12 16:52 UTC

This package is not auto-updated.

Last update: 2024-09-10 06:26:55 UTC


README

symfony upgrade fixertwig gettext extractorwisdomcentipedepermissions handlerextraloadgravatarlocurrocountry listtransliterator

Titlerator 构建状态

将字幕转换为utf-8编码。

Web界面

http://titlovi.umpirsky.com

命令行

$ ./bin/titlerator file.sub

代码

$titlerator = new Titlerator(
    new Transliterator(Settings::LANG_SR),
    file_get_contents('file.sub')
);
$titlerator->fixEncoding();
$titlerator->getText();