I have created a rails application, in which I am displaying any type of name, name can be anything from person, cars, vegetables, any material.
So I thought of including some ingredient name like Crème Fraîche, whenever I copy this name from other web page and store in my database, it properly stores it.
While displaying this name on web page, I get some strange characters appearing on the page like Cr�me Fra�che.
I have used charset UTF-8, then also it displays the name like this.
I checked in my database name is stored properly, but on page and in irb it displays the name like this.
I have wasted nearly 5 days on searching for the above problem but didn't succeed. I hope this time I will get some help
Thanks in advance Pankaj