Latin-1 transcoded to UTF-8 in File.open : Open a File « File Directory « Ruby
- Ruby
- File Directory
- Open a File
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
Related examples in the same category