cucumber.runtime.io.UTF8FileWriter Maven / Gradle / Ivy
package cucumber.runtime.io;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.nio.charset.Charset;
public class UTF8FileWriter extends OutputStreamWriter {
public UTF8FileWriter(File file) throws IOException {
super(new FileOutputStream(file), Charset.forName("UTF-8"));
}
}