title: How to decode a string in Ruby
body: <p>I am working with the Mandrill Inbound Email API, and when an email has an attachment with one or more spaces in its file name, then the file name is encoded in a format that I do not know how to decode.</p>
  
  <p>Here is a an example string I receive for the file name: <code>=?UTF-8?B?TWlzc2lvbmFyecKgRmFpdGjCoFByb21pc2XCoGFuZMKgQ2FzaMKgUmVjZWlwdHPCoFlURMKgMjUzNQ==?= =?UTF-8?B?OTnCoEp1bHktMjAxNS5jc3Y=?=</code></p>
  
  <p>I tried <code>Base64.decode64(#{encoded_value})</code> but that didn't return a readable text.</p>
  
  <p>How do I decode that value into a readable string?</p>