umpirsky / titlerator
Convert subtitles to utf-8 encoding.
dev-master
2016-03-12 16:52 UTC
Requires
- php: >=5.4
- knplabs/gaufrette: 0.2.*@dev
- neitanod/forceutf8: *@dev
- silex/silex: ~1.2
- symfony/twig-bridge: ~2.4
- twig/twig: ~1.15
- umpirsky/transliterator: *@dev
Requires (Dev)
- phpspec/phpspec: 2.0.*@dev
This package is not auto-updated.
Last update: 2024-12-17 07:55:28 UTC
README
symfony upgrade fixer • twig gettext extractor • wisdom • centipede • permissions handler • extraload • gravatar • locurro • country list • transliterator
Titlerator
Convert subtitles to utf-8 encoding.
Web interface
Command line
$ ./bin/titlerator file.sub
Code
$titlerator = new Titlerator( new Transliterator(Settings::LANG_SR), file_get_contents('file.sub') ); $titlerator->fixEncoding(); $titlerator->getText();