Task: Ruby CSV File Reading with Proper UTF-8 Encoding
Task: Ruby CSV File Reading with Proper UTF-8 Encoding: a task in Terminal-Lego-15k (Harbor dataset). Write a Ruby script that correctly reads a CSV file containing Latin-1 (ISO-8859-1) encoded characters (such as French accented characters like "spécifié") and converts the content to proper UTF-8…
The task
Write a Ruby script that correctly reads a CSV file containing Latin-1 (ISO-8859-1) encoded characters (such as French accented characters like "spécifié") and converts the content to proper UTF-8 encoding for output.
Part of PrimeIntellect/Terminal-Lego-15k.