Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23426 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53200 invoked by uid 1010); 15 May 2006 21:47:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53185 invoked from network); 15 May 2006 21:47:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2006 21:47:01 -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:56818] helo=sapo.pt) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DE/D4-19568-4D6F8644 for ; Mon, 15 May 2006 17:47:01 -0400 Received: (qmail 9688 invoked by uid 0); 15 May 2006 21:46:56 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.158) by relay6 with SMTP; 15 May 2006 21:46:56 -0000 Received: (qmail 12392 invoked from network); 15 May 2006 21:46:56 -0000 X-AntiVirus: PTMail-AV 0.3-0.88.2 X-Virus-Status: Clean (0.00630 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[81.193.154.225]) (envelope-sender ) by mta8 (qmail-ldap-1.03) with SMTP for ; 15 May 2006 21:46:56 -0000 Message-ID: <003a01c67869$160f52c0$0100a8c0@pc07653> To: "Andrei Zmievski" Cc: "Derick Rethans" , "PHPdev" References: <003d01c672ef$6cde8370$0100a8c0@pc07653> <517361123ef66114064e2866c95e3caa@gravitonic.com> <000901c67857$c20fa190$0100a8c0@pc07653> <7abd987289270ef00178d1bbf8e32c0b@gravitonic.com> <002401c67866$d1497f50$0100a8c0@pc07653> <9c2e6ce480a09868788a4a4a46523235@gravitonic.com> Date: Mon, 15 May 2006 22:46:55 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response 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") 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. Nuno > Are you sure want to generate a hard error if tidy_parse_string() doesn't > get an ASCII string? > > -Andrei > > On May 15, 2006, at 2:30 PM, Nuno Lopes wrote: > >> Looking only to the tidy extension: >> tidy_parse_string >> tidy_parse_file >> tidy_repair_string >> tidy_repair_file >> tidy_getopt >> tidy::__constructor >> tidy::parseFile >> tidy::parseString >> >> I would say that others extensions will need too. Think in charset names, >> options names, options values, etc.. >> >> Nuno