what is the encoding of Zval IS_STRING for string literals when unicode.semantics=off
| From: | Makoto Tozawa | Date: | Fri, 09 Feb 2007 00:14:37 +0000 |
| Subject: | what is the encoding of Zval IS_STRING for string literals when unicode.semantics=off | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-1049@lists.php.net to get a copy of this message | ||
Hello,
When the unicode.semantics=off, in what encoding will the PHP 6 engine create Zval IS_STRING for the string literals?
I can think of two possibilities.
1. PHP 6 does the same as PHP 5 because unicode.semantics=off means backwards compatibility. Thus they are binary data.
2. PHP 6 respects the unicode.script_encoding (or the encoding pragma) and the unicode.runtime_encoding. Thus they are in unicode.runtime_encoding.
Thank you,
Makoto