Re: Trying to understand PHP6's unicode support
| From: | Tijnema ! | Date: | Thu, 03 May 2007 11:32:26 +0000 |
| Subject: | Re: Trying to understand PHP6's unicode support | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29143@lists.php.net to get a copy of this message | ||
On 5/3/07, Rangel Reale <listas@rangelreale.com> wrote:
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?from: http://www.php.net/manual/nl/ini.php unicode.output_encoding : PHP_INI_ALL So yes, it can be set with ini_set. Tijnema
----- 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: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.phpphp6 always handles all "internal work" in utf-8