Skip to content

Instantly share code, notes, and snippets.

@virgium03
virgium03 / FixSubtitles.java
Last active November 18, 2015 21:24
Replace non ASCII characters from Romanian subtitle files with their counterparts
package org.vigi;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;