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 "ö" into > "\303\266". Or at least converting the html entity to the character "ö" ) > > Thank you >
CGI.unescapeHTML may do what you're looking for. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/4tnIh0u03igJ. For more options, visit https://groups.google.com/groups/opt_out.

