Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23432 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66791 invoked by uid 1010); 15 May 2006 22:12:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 66776 invoked from network); 15 May 2006 22:12:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2006 22:12:06 -0000 X-PHP-List-Original-Sender: nlopess@php.net X-Host-Fingerprint: 212.55.154.26 relay6.ptmail.sapo.pt Linux 2.4/2.6 Received: from ([212.55.154.26:36094] helo=sapo.pt) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id F4/07-19568-5BCF8644 for ; Mon, 15 May 2006 18:12:06 -0400 Received: (qmail 1610 invoked by uid 0); 15 May 2006 22:12:00 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.151) by relay6 with SMTP; 15 May 2006 22:12:00 -0000 Received: (qmail 2607 invoked from network); 15 May 2006 22:12:00 -0000 X-AntiVirus: PTMail-AV 0.3-0.88.2 X-Virus-Status: Clean (0.01304 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[81.193.154.153]) (envelope-sender ) by mta1 (qmail-ldap-1.03) with SMTP for ; 15 May 2006 22:12:00 -0000 Message-ID: <001301c6786c$965bd680$0100a8c0@pc07653> To: "Derick Rethans" Cc: "Andrei Zmievski" , "PHPdev" References: <003d01c672ef$6cde8370$0100a8c0@pc07653><517361123ef66114064e2866c95e3caa@gravitonic.com> <000901c67857$c20fa190$0100a8c0@pc07653><7abd987289270ef00178d1bbf8e32c0b@gravitonic.com> <002401c67866$d1497f50$0100a8c0@pc07653><9c2e6ce480a09868788a4a4a46523235@gravitonic.com> <003a01c67869$160f52c0$0100a8c0@pc07653> Date: Mon, 15 May 2006 23:11:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: Re: [PHP-DEV] [php6] accepting an ascii string only From: nlopess@php.net ("Nuno Lopes") > On Mon, 15 May 2006, Nuno Lopes wrote: > >> I was not refering to the html/xhtml/xml input. I was talking about the >> charset parameter, for example. I don't want a chinese string passed as >> the >> charset name (the libtidy API isn't localized yet :) ). The same applies >> for >> the other functions. > > Yeah, but that doesnt mean you need to throw a hard error on passing a > unicode string here. They can also contain just ascii data which is > perfectly acceptable. Yep, in that case it wouldn't throw any error. It would call the zend_unicode_to_ascii() and throw an error if that fails. Nuno