File Directory Ruby

in = File.open("data.txt", "r:iso8859-1:utf-8"); # Latin-1 transcoded to UTF-8