Skip to content

Instantly share code, notes, and snippets.

@rixtox
Created July 12, 2015 09:23
Show Gist options
  • Save rixtox/c50e5494991be87c9bb7 to your computer and use it in GitHub Desktop.
Save rixtox/c50e5494991be87c9bb7 to your computer and use it in GitHub Desktop.
Convert Chinese subtitles to UTF8 encoding
#!/bin/bash
find "$0" -type f -name "*.ass" -o -name "*.srt" -o -name "*.ssa" -o -name "*.sub" -o -name "*.sbv" -exec enconv -L chinese -x UTF8 "{}" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment