Fix text encoding issue when exporting to CSV (comma separated values) – Ruby on Rails

Hi all!! In this post, I will be sharing a problem that I came across while dealing with exporting a CSV in Ruby on Rails. ( The rails version used was 4.2.10 and ruby version was 2.4.5). Problem: When writing into a file encoded with utf-8 encoding, some special characters weren't getting parsed in Excel. … Continue reading Fix text encoding issue when exporting to CSV (comma separated values) – Ruby on Rails