Re: Trying to understand PHP6's unicode support
| From: | Rangel Reale | Date: | Thu, 03 May 2007 11:12:11 +0000 |
| Subject: | Re: Trying to understand PHP6's unicode support | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29141@lists.php.net to get a copy of this message | ||
Hmm ok, so what does the parameter "unicode.runtime_encoding = iso-8859-1"
do?
This means that, when "unicode.semantics = on", internally everything is
utf-16, event text read from iso-8859-1 script files and database data, so
if I want to return iso-8859-1 data, I need to set "unicode.output_encoding
= iso-8859-1", and php will convert all echo'ed data from utf-16, is this
it?
If so, can I change unicode.output_encoding at runtime, with ini_set?
----- Original Message ----- From: "Derick Rethans" <derick@php.net>
To: "Alexey Zakhlestin" <indeyets@gmail.com>
Cc: "Rangel Reale" <listas@rangelreale.com>; <internals@lists.php.net>
Sent: Thursday, May 03, 2007 5:58 AM
Subject: Re: [PHP-DEV] Trying to understand PHP6's unicode support
On Thu, 3 May 2007, Alexey Zakhlestin wrote:php6 always handles all "internal work" in utf-8No, it is UTF-16 internally. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.6.1/776 - Release Date: 25/4/2007 12:19