Re: Finding the charset header

From: Date: Wed, 06 Dec 2000 13:51:03 +0000
Subject: Re: Finding the charset header
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28893@lists.php.net to get a copy of this message
How are you accessing the email? If you are using the imap functions, imap_fetchstructure can give you that information. Regards, Sebastian ""Johan Björk"" <johan@websidorna.com> wrote in message news:018701c05f80$a833e600$e25843c3@johan.websidorna.com... Hi folks. Here is a typical header line from an email: ... Content-Type: text/plain; charset=iso-8859-1 ... With the PHP-functions currently available in 4.0.3, are there any way of finding out what the 'charset' field contains? I can't find anything about it in the docs. I would parse it manually but why invent the wheel twice. --- Johan Björk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#28893) next »