[Rails] Unicode parsing
Anyone out there find a way to parse a string with unicode characters
into a regular utf8 string?
So input: "%u041c%u0438%u0445" etc.
output: a ruby string that displays in foreign characters
I've seen lots of posts online but none of them has worked, and it
seems like there should be a quick shortcut for this kind of thing.
Thanks!
Jack
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home