Hi
I have an application which needs to take utf-8 encoded data from a database which includes French, and replace any special characters (ie. é) with their HTML representations.
So for that example should
be doing the trick? I've spent a while trying to figure this one out but haven't really been able to find anything online... I'm pretty stuck on this one, I've spent about a day trying different options but to no avail.
Thanks for the help
I have an application which needs to take utf-8 encoded data from a database which includes French, and replace any special characters (ie. é) with their HTML representations.
So for that example should
Code:
french_name.gsub!(/é/, 'é')
Thanks for the help