Finding the charset header

From: Date: Wed, 06 Dec 2000 12:32:54 +0000
Subject: Finding the charset header
Groups: php.general 
Request: Send a blank email to php-general+get-28885@lists.php.net to get a copy of this message
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

« previous php.general (#28885) next »