Yes and no.
All text in an email must/should be ASCII, ie 7-bit. The body can be
encoded, either with Base-64 or with quote-printable. Headers are a
bit different. Non-ASCII text in headers is encoded following a
mechanism described in RFC 2047:
http://www.faqs.org/rfcs/rfc2047.html
and looks like this:
Any word that contains non-ASCII chars is encoded under the form:
"=?" charset "?" encoding "?" encoded-text "?="
* Quoting from the RFC: A 'charset' can be any of the character set
names allowed in an MIME "charset" parameter of a "text/plain" body
part, or any character set name registered with IANA for use with the
MIME text/plain content-type.
* encoding is Q or B, for quote-printable or Base64
* encoded-text is the word you want to include in the header, and
which has non-ASCII chars, encoded with Q or B.

So yeah you can include non-ASCII text, you'll just have to make sure
it's properly encoded.

HTH

--
dda
libcurl4RB, [S]FTP transfers made easy
http://sungnyemun.org/?q=node/8


On 1/15/07, Arnaud Nicolet <[EMAIL PROTECTED]> wrote:
But that gives me 2 questions:

1: can headers have non-printable or high characters for an e-mail?
2: is there a limitation (e.g. in length) of an header?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to