Re: SMTP and unicode

From: Otto Stolz (
Date: Tue May 17 2005 - 13:52:15 CDT

  • Next message: Alexander Savenkov: "Re[2]: Corrections to Glagolitic"

    faraz siddiqi schrieb:
    > is smtp by default support utf-8 encoding

    Not exactly. SMTP supports 7-bit transmission, but there are ways around this

    > or i have to implement some external things to render it in correct format ?

    You have to apply a "content transfer encoding", according to
    - RFC 2045 (Draft Standard): "Multipurpose Internet Mail Extensions (MIME) Part One:
       Format of Internet Message Bodies"
    - RFC 2047 (Draft Standard): "MIME (Multipurpose Internet Mail Extensions) Part Three:
       Message Header Extensions for Non-ASCII Text

    > please give me some samples if u have any ,

    (And most messages you will get via this list: just look at their source code,
    cf. <>).

    How will you hand in that message to the nearest SMTP server? I hope, you
    have some API to do this for you; depending on tat API, you may also have to
    assemble the whole message, complying with RFC 2822 (Proposed Standard):
    "Internet Message Format"

    Best wishes,
        Otto Stolz

    This archive was generated by hypermail 2.1.5 : Tue May 17 2005 - 13:54:18 CDT