Displaying encoded strings?


#1

Is there a way to present the following string correctly in a browser?

=?UTF-8?B?RndkOiDoqo3lrprjga7mioDooZPnmoTln7rmupY=?=

The most excellent ActionMailer has the tools to solve this issue.

TMail::Unquoter.unquote_and_convert_to(string, 'utf-8')

As always, Rails rocks!


Lon B.
Speedymac LLC
http://www.speedymac.com
AIM: spdemac