Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13173 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65113 invoked by uid 1010); 5 Oct 2004 16:23:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62743 invoked by uid 1007); 5 Oct 2004 16:23:02 -0000 Message-ID: <20041005162302.62405.qmail@pb1.pair.com> To: internals@lists.php.net Date: Tue, 05 Oct 2004 18:23:28 +0200 Organization: IWORKS User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 [ http://iworks.at ] X-Accept-Language: de-AT, de-DE, de, en-GB, en-US, en MIME-Version: 1.0 X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA4B8CE4990C482E9C334515B" X-Posted-By: 80.121.41.139 Subject: iconv's input_encoding useless? From: mike@php.net (Michael Wallner) --------------enigA4B8CE4990C482E9C334515B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, perhaps I'm just missing something, the docs don't really mention anything about that issue... Shouldn't iconv decode HTTP input from "input_encoding" to "internal_encoding", and if not, then what is the input_encoding setting for? Here's a small script to reproduce: ======================================================

 $v) $_POST[$k] = iconv('utf-8', 'iso-8859-1', $v);
print_r($_POST);
?>
====================================================== Many thanks, -- Michael - < mike(@)php.net > --------------enigA4B8CE4990C482E9C334515B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Cygwin) iD8DBQFBYsqD2pTtEijQyW0RAoK6AJ0V81dohjltAShzf1awp0X/r2dREgCfSArw uyHbblZfkqPLElZbLRa9VdI= =cqp0 -----END PGP SIGNATURE----- --------------enigA4B8CE4990C482E9C334515B--