[Rails] Re: How to convert the HTML entities into UTF-8 character set, in ruby 1.8.7

2012-09-11 Thread Matt Jones
On Tuesday, 11 September 2012 04:02:22 UTC-4, Nila wrote: Hi, Is there away to convert the HTML entities into UTF-8 character set, in ruby 1.8.7? (For example, if we consider ö, convert the entity number #246; into \303\266. Or at least converting the html entity to the character ö )

[Rails] Re: How to convert the HTML entities into UTF-8 character set, in ruby 1.8.7

2012-09-11 Thread Nila
Thanks alot for the responses. Could do it using HTMLEntities. On Tuesday, September 11, 2012 1:32:22 PM UTC+5:30, Nila wrote: Hi, Is there away to convert the HTML entities into UTF-8 character set, in ruby 1.8.7? (For example, if we consider ö, convert the entity number #246; into