Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28009 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5205 invoked by uid 1010); 11 Feb 2007 21:28:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5190 invoked from network); 11 Feb 2007 21:28:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2007 21:28:28 -0000 X-Host-Fingerprint: 88.64.156.128 dslb-088-064-156-128.pools.arcor-ip.net Received: from [88.64.156.128] ([88.64.156.128:10528] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/8A-07898-B7A8FC54 for ; Sun, 11 Feb 2007 16:28:27 -0500 Message-ID: <7A.8A.07898.B7A8FC54@pb1.pair.com> To: internals@lists.php.net Date: Sun, 11 Feb 2007 22:28:26 +0100 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 88.64.156.128 Subject: inconsistency in using utf-8 From: phpinternals@thunder-2000.com (Mathias Bank) Hi, there is a inconsistency in using utf-8. If you use tiny_html (http://de2.php.net/manual/en/function.tidy-repair-string.php), you have to use "utf8" to encode your data in utf-8. If you use html_entity_decode() (http://de2.php.net/manual/en/function.html-entity-decode.php), you have to use "UTF-8". This difference is not necessary. Can it be possible to use one notation. With current implementation, you always has to look into the documentation, which notation you have to use. Mathias