Mega Code Archive
Categories
/
Ruby
/
File Directory
Latin-1 transcoded to UTF-8 in File open
in = File.open("data.txt", "r:iso8859-1:utf-8"); # Latin-1 transcoded to UTF-8