All email headers may contain ASCII chars only. Any other chars must be encoded according RFC 2047. Here is a simple implementation of the specification for PHP.
License: public domain - you may use the code in any way but the author (me) geves you no warranty.
Origin: []