AFAIK, UTF-8 is backward compatible with ASCII. UTF-16 is not. That's why

Well, with 7-bit ASCII - yes. With 8-bit "extended ASCII", whatever that means - not exactly. You can have 8-bit strings that aren't valid UTF-8 and can't be translated to UTF-8 without specifying the encoding (iso-889-1 or something like that).
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to