Re: [PHP-I18N] what is the encoding of Zval IS_STRING for string literals when unicode.semantics=off
[email protected] (Andrei Zmievski)
| Newsgroups | php.i18n |
|---|---|
| Message-ID | <[email protected]> |
#1 is the behavior. -Andrei On Feb 8, 2007, at 4:14 PM, Makoto Tozawa wrote: > 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 > > -- > PHP Unicode & I18N Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php