Jaime Frutos Morales's blog


Always UTF-8

Filed under: Shell scripting — acidborg @ 21:24

Today, fed up with having to convert all subtitle files from ISO-8859-15 to UTF-8, I’ve coded a simple bash script to do it for me. It can be downloaded from here (GPLv3 licensed).

It uses iconv to make the conversion. The input and output encodings aren’t hard-typed, so if you need to make different encoding conversions, just change that values.

Create a free website or blog at WordPress.com.

%d bloggers like this: