utf-8 in $_POST

From: Date: Mon, 07 Jan 2008 15:39:55 +0000
Subject: utf-8 in $_POST
Groups: php.general 
Request: Send a blank email to php-general+get-266839@lists.php.net to get a copy of this message
hello does php have any built-in functions to convert post data from whatever format it arrives in to whatever format i wish? example: i use iso-8859-1 internally, and even specify accept-charset=iso-8859-1 in my html, but some browsers (phones) send utf-8 anyway. do i have to manually check if CONTENT_TYPE says "utf-8" and then convert the $_POST array elements one by one, or does php have any built-in functions to ease this?

« previous php.general (#266839) next »