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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php