Unicode code points can be defined with \u, but PHP6 breaks existing octal
and hex escape sequences.

What do you mean? Doesn't \x20 create U0020 character? Or you mean you'd expect it to create just one-byte 0x20? Doesn't binary string do that?

PHP6 is very noisy ("Notice: fwrite(): 13 character unicode buffer
downcoded for binary stream runtime_encoding", "Warning: base64_encode()
expects parameter 1 to be strictly a binary string, Unicode string given")

Well, exporting and importing to and from non-unicode contexts are tricky, and fwrite and base64_encode do exactly that. Maybe some functions need to be less noisy, I don't know - but when people work with unicode they must be aware that interoperating with non-unicode contexts brings some complexity, I don't see how that can be avoided.

--
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