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" <[EMAIL PROTECTED]>
To: "Alexey Zakhlestin" <[EMAIL PROTECTED]>
Cc: "Rangel Reale" <[EMAIL PROTECTED]>; <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-8

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



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

Reply via email to