Mega Code Archive
Categories
/
Ruby
/
File Directory
Read UTF-8 text
in = File.open("data.txt", "r:utf-8"); # Read UTF-8 text