Skip to content
forked from wttw/pgmime

RFC 2047 MIME header decoding for postgresql

License

Notifications You must be signed in to change notification settings

DeferoSIS/pgmime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgmime

RFC 2047 MIME header decoding for postgresql

This currently contains a single function that will decode RFC 2047 encoded email headers from using either Q or B encoding.

Usage

steve=# select decode_rfc_2047(E'=?_ISO-8859-1?Q?Rapha=EBl_Dupont?=');
 decode_rfc_2047
-----------------
 Raphaël Dupont
(1 row)

Installation

psql -f pgmime.sql

Testing

Once the function is installed you can run the pgtap based tests with psql -Xf test.sql

Future

It'd be nice to have some variants of encode_rfc_2047() too.

About

RFC 2047 MIME header decoding for postgresql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PLpgSQL 100.0%