Have a look at the internet - google is good for this

http://www.imc.org/mail-i18n.html#MIME

Internationalized text and names appear in both parts of Internet mail
messages: in the headers, and in the body of the message. RFC 2047 covers
how to use international characters in some parts of non-MIME headers, such
as addresses and subject headers. RFC 2231 extends the concepts in RFC 2047
to cover MIME parameter values, and also specifies a method for using
language tagging for international characters in these headers. RFC 2046
describes how to specify the charset for each part of the body of the
message


so, you're looking for RFC2047

http://www.imc.org/rfc2047

In that it describes how to do it something like

=?iso-8859-2q?this is some text?=

would probably work for you, but you'll need to encode the characters
correctly according to the rfc.

cheers,

Lawrence.

-----Original Message-----
From: Gernot [mailto:[EMAIL PROTECTED]]
Sent: July 25, 2001 4:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] URGENT: function mail()


i've the following problem....

i know how to set the charset in the header of a mail using the php
mail-function. but i also need to set it for the subject  (iso-8859-2)


i hope someone can help me



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to