Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An RFC 2047 compliant email header parser

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 rfc2047.gemspec
README.md

The rfc2047 ruby gem decodes email header fields that have been encoded according the the rules layed forth by RFC 2047.

Rfc2047.decode("=?ISO-8859-1?B?SWYgeW91IGNhbiByZWFkIHRoaXMgeW8=?= =?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?=")
# => "If you can read this yo u understand the example."

It is released under the same terms as Ruby itself.

It was originally written by Sam Roberts in 2003, and the current version was taken from the Joyent Connector, who cite the original mailing list post as the source. It was packaged as a gem in 2011, and now resides on Rubygems, with the source at GitHub.

Something went wrong with that request. Please try again.